home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / docs / netbsdamigafaq.txt < prev    next >
Text File  |  1995-05-15  |  98KB  |  2,285 lines

  1.  
  2. Archive-name: netbsd-amiga-x-faq/part1 of 1
  3. Last-modified: 1994/15/2
  4.  
  5.  This  article contains the answers to some Frequently Asked Questions
  6. (FAQ) often seen in the mailing-list of NetBSD and comp.amiga.unix.
  7.  
  8.  It  is  posted  to  help  reduce  volume  and to provide hard-to-find
  9. information of general interest.
  10.  
  11.  This  article can be found on the main archive site for NetBSD-Amiga:
  12. ftp.eunet.ch /pub/NetBSD-Amiga and on the other NetBSD-Amiga mirrors.
  13.  
  14.         Please redistribute this article!
  15.  
  16.  This  article  has been evaluated for NetBSD-Amiga X window by Markus
  17. Illenseer (markus@techfak.uni-bielefeld.de).
  18.  
  19.  I  am  also  the  current  maintainer of this text, please report any
  20. bugs,  mysthake'z and suggestions to me.  As you might see, I am not a
  21. native  english  speaker and some of my words sentences are plain numb
  22. and  even  uncomprehensable,  please excuse (even ispell does not find
  23. all my mistakes), and tell me about.
  24.  
  25.  I  would  like  to  thank Robert Leland, Myke Schwartz and others for
  26. helping me writing, reading and testing this FAQ.
  27.  
  28.  As  a  base  for this article, the FAQ of usenet group comp.windows.x
  29. has   been   used,   thank   you   very   much,   David  (  B.   Lewis
  30. faq%craft@uunet.uu.net)  !  Many (many!) subjects have been removed in
  31. favor  to  reduce  bandwidth  and be more specific to NetBSD-Amiga X11
  32. problems and ideas.
  33.  
  34.  I strongly recommend reading the FAQ for X windows on comp.windows.x,
  35. see item 3) in this FAQ.
  36.  
  37. What this article does NOT do:
  38.  
  39.  Currently,  this  article does not include a full-fledged description
  40. about  how to install the X window system on your Amiga running a more
  41. or  less  installed  NetBSD-Amiga.   It  just  gives  you  some  basic
  42. intallation guides and hints.
  43.  
  44.  I  decided  to  wait  until things are getting more stable and more X
  45. clients  are  available  for  common  use,  before I provide a indepth
  46. installation  guide.   X  still has some problems and is not stable on
  47. every Amiga platform.  Also many X-Servers for a wild range of graphic
  48. boards are in the work.
  49.  
  50.  The  availibility  of shared libraries made X11 interesting for small
  51. (small in terms of both:  small hard drive space and small RAM amount)
  52. platforms, see more in the FAQ.
  53.  
  54. What this article tries to perform:
  55.  
  56.  This  article  includes answers to the following questions, which are
  57. loosely  grouped  into categories.  Questions marked with a + indicate
  58. questions new to this issue; those with significant changes of content
  59. since the last issue are marked by !:
  60.  
  61.   0)  TOPIC: AVAILABLE X-STUFF FOR NETBSD-AMIGA
  62.   1)  X servers
  63.   2)  X clients
  64.   3)  X libraries
  65.  
  66.  10)  TOPIC: SHORT EXPLANANTATION OF X11
  67.  11)  Just what is X11?
  68.  12)  Do I need X11?
  69.  
  70.  20)  TOPIC: INSTALLATION OF X11 ON NETBSD-AMIGA
  71.  21)  What do i need to run X11 on my platform?
  72.  22)  Which files do i need?
  73.  23)  How to start X11?
  74.  24)  I can't start anything, what is missing?
  75.  25)  Startx or xinit stop after complaining about screens?
  76.  26)  When I use startx, the X server pops up and then exists.
  77.  27)  Looks like I miss some files in /usr/lib/X11.
  78.  
  79.  30)  TOPIC: BASIC INFORMATION SOURCES AND DEFINITIONS
  80.  31)  What books and articles on X are good for beginners?
  81.  32)! What X-related public mailing lists are available?
  82.  33)  What related FAQs are available?
  83.  34)  How do I ask a net-question so as to maximize helpful responses?
  84.  35)  What are these common abbreviations/acronyms?
  85.  36)  Just what are OPEN LOOK and Motif?
  86.  
  87.  40)  TOPIC: USING X IN DAY-TO-DAY LIFE
  88.  41)  What are all these different window managers?
  89.  42)  Why does my X session exit when I kill my window manager (sic)?
  90.  43)  Can I save the state of my X session, like toolplaces does?
  91.  44)  How do I change the keyboard auto-repeat rate?
  92.  45)  How do I remap the keys on my keyboard to produce a string?
  93.  46)  How do I make a screendump or print my application?
  94.  47)  How can I change the titlebar of my xterm window?
  95.  48)  Where can I find the xterm control sequences?
  96.  49)  How can I use characters above ASCII 127 in xterm ? (Umlauts)
  97.  50)  Why are my xterm menus so small (sic) ?
  98.  51)  How to I have xdm put a picture behind the log-in window?
  99.  52)  How to have a picture on the root window?
  100.  53)  Why isn't my PATH set when xdm runs my .xsession file?
  101.  54)  How do I keep my $DISPLAY when I rlogin to another machine?
  102.  55)  How can i use my localized keyboard?
  103.  
  104.  60)  TOPIC: OBTAINING X AND RELATED SOFTWARE AND HARDWARE
  105.  61)  Is X public-domain software?
  106.  62)  When is X11R6 rumored to be available?
  107.  63)  Where can I get X11R5 (source and/or binaries)?
  108.  64)  Where can I get other X sources? (including R5 modifications)
  109.  65)  Where can I get X for the Amiga?
  110.  66)  What terminal emulators other than xterm are available?
  111.  67)  Does xterm offer colored text or a blinking cursor?
  112.  68)  Where can I get an X-based editor or word-processor?
  113.  69)  Where can I get an X-based paint/draw program?
  114.  70)  Where can I get an X-based plotting program?
  115.  71)  Where can I get an X-based graph-drawing program?
  116.  72)  Where can I get an X-based spreadsheet?
  117.  73)  Where can I get an X-based PostScript previewer?
  118.  74)  Where can I get an X-based GL package?
  119.  75)  Where can I get an X-based PEX package?
  120.  76)  Where can I get an X-based TeX or DVI previewer?
  121.  77)  Where can I get an X-based troff previewer?
  122.  78)  Where can I get an X-based debugger?
  123.  
  124.  80)  TOPIC: BUILDING THE X DISTRIBUTION 
  125.  81)  What's a good source of information on configuring the X build?
  126.  
  127.  90)  TOPIC: BUILDING X PROGRAMS 
  128.  91)  What is Imake?
  129.  92)  Where can I get imake?
  130.  93)  I have a program with an Imakefile but no Makefile. What to do?
  131.  
  132.  If  you  have  suggestions or corrections for any of these answers or
  133. any   additional   information,   please   send   them   directly   to
  134. markus@techfak.uni-bielefeld.de,  the  information will be included in
  135. the next revision (or possibly the one after that; thanks for the many
  136. suggestions which haven't been incorporated yet).
  137.  
  138.  The  information contained herein has been gathered from a variety of
  139. sources.   In  many cases attribution has been lost; if you would like
  140. to claim responsibility for a particular item, please let me know.
  141.  
  142.  X  Window  System  is  a  trademark of the Massachusetts Institute of
  143. Technology.   Other  trademarks  are  the property of their respective
  144. owners.
  145.  
  146. (This is a FAQ, not a legal mumble archive, eh?)
  147.  
  148. ----------------------------------------------------------------------
  149. Subject:   0) TOPIC: AVAILABLE X-STUFF FOR NETBSD-AMIGA
  150. ----------------------------------------------------------------------
  151. Subject:   1) Xservers
  152.  
  153.  Currently available are three X-servers:
  154.  Xbsd     - First X server for ECS chipset, Monochrome version.
  155.             Works great on most systems.
  156.  
  157.  Xami     - Second X server for ECS chipset, uses /dev/view
  158.             Monochrome version.
  159.  
  160.  Xretina  - First  X  server  for  Retina  graphics  board, 256 color
  161.             version.
  162.  
  163. ----------------------------------------------------------------------
  164. Subject:   2) Xclients
  165.  
  166.  The  entire  MIT/contrib  tree  has been compiled for NetBSD-Amiga so
  167. far.   This includes the standard /usr/bin/X11 clients, the demos, and
  168. PbmPlus.
  169.  
  170.  Also,  the  entire  MIT/contrib  fonts  have been compiled, this does
  171. include misc and fixed fonts.
  172.  
  173.  A   vaste  range  of  common  X  clients  has  been  reported  to  be
  174. compileable, included xv, xpaint, xfig, xlock, gen-tetris, xpirate and
  175. many more.  Most of them haven't been made available in binary form on
  176. ftp sites yet, due to the state of NetBSD (shared libs and other stuff
  177. will change in near future).
  178.  
  179. ----------------------------------------------------------------------
  180. Subject:  10) TOPIC: SHORT EXPLANANTATION OF X11
  181. ----------------------------------------------------------------------
  182. Subject:  11) Just what is X11?
  183.  
  184.  This question is hard to answer. X11 is the successor of X10.
  185.  Ah, you guessed that? :-)
  186.  
  187.  Maybe we should ask another question: What is X at all ?
  188.  
  189.  The  X windowing system is a retargetable graphics systems for almost
  190. every computer platform.
  191.  
  192.  X  was  developed  at  the  MIT  labs,  Massachuset,  and  many other
  193. companies:   The X-consortium.  X is copyrighted by them.  MIT started
  194. X  some  years  ago,  X10  was  the  first X windows system, which had
  195. success on a wide range of computers, X11 had some significant changes
  196. in  the  protocoll  and  started with the Release Version 1 (R1).  The
  197. most  used  Release  is  still  R4  and  finally R5 is the most recent
  198. Release (1991).  R6 is due to 1994, R6's topic is 'Hands off X', which
  199. means we will able to guide through X11 w/o mouse :)
  200.  
  201.  The  whole  X11R5  distribution  contains  about 200MB of sources and
  202. binaries.   Of  these  only  a  small  part (100MB actually) is really
  203. needed to make X runable on almost any platform.
  204.  
  205.  It  is  hardware  independant for the clients which do interfere with
  206. the  only  hardware  dependant  part  -  the X server - to display the
  207. graphics.
  208.  
  209.  This means, you need only one piece of software which is dependant on
  210. your  computer:   the  X server.  The X server interoperates with your
  211. hardware, that is keyboard, mouse (or whatever) and display.
  212.  
  213.  Of  course  you  need  a  new server for each graphics display board,
  214. there  are  server  for the ECS/AGA chipset of the Amiga, and a server
  215. for the Retina graphics board at this time.
  216.  
  217.  Once  the server is started on your system, you can start the clients
  218. (like  xterm,  xclock) either from your local machine or remotely on a
  219. (however) connected machine.
  220.  
  221.  This  makes  it  possible to use slower machines as displays for fast
  222. machines  where  the  programm is really started, only the graphics is
  223. displayed  and  the protocoll for the drawing routines are transported
  224. over the network.
  225.  
  226.  As  you  can  see,  you  need  another piece of software:  a network.
  227. Under  Unix  this  is not a problem, since the network layer is almost
  228. standard on any UNix, such as a TCP/IP layer, which X uses extendly.
  229.  
  230.  (This  leads  us  to  the possibility that you can run the clients on
  231.   your  Amiga under the NetBSD-Amiga OS, and displaying the windows on
  232.   a  X  server on an Amiga under AmigaDOS OS running GfxBase or DaggeX
  233.   servers, connected via TCP/IP)
  234.  
  235.  Of  course  you don't need to have a full fledged network in order to
  236. run  the  X windows system, a locally installed network (localhost) is
  237. sufficient.
  238.  
  239.  On  a  stand-alone machine you would then start the X server and then
  240. connect the X clients to it all running on the local machine itself.
  241.  
  242. (This way, Amiga has finally RTG :-)
  243.  
  244. ----------------------------------------------------------------------
  245.  Subject: 12) Do I need X11?
  246.  
  247. This  question  is  hard to answer, to be fair I just vote for a clear
  248. YES.   State-of-the-art  operating  systems  need a GUI which uses the
  249. underlying OS extendly and makes it easy to use the OS at all.
  250.  
  251.  The  X  window  system  does  this  for  NetBSD-Amiga  and many other
  252. platforms.
  253.  
  254. You don't want X because:
  255.  
  256.  *  you are the typical hacker, who hates GUI and mice, and prefers to
  257. use  shells  and  stuff  like  screen  or window or even have a serial
  258. terminal connected.
  259.  
  260.  *  you simply don't have the space for it: X needs about 10 to 30MB
  261. of hard drive space.
  262.  
  263.  *  you  have  a small amount of RAM, 4MB is far too little, and turns
  264. your machine into a swapping-box.
  265.  
  266.  *  you  have never seen it before and have not the faintest idea what
  267. you are missing.
  268.  
  269.  *  you  have  the wrong monitor and are unable to display any kind of
  270. high resolution graphics (not very probable :-)
  271.  
  272.  
  273. You probably want X because:
  274.  
  275.  * you have been using X for a long time in your university or at your
  276. work place.
  277.  
  278.  *  you know what you are miss, and want it desperately.
  279.  
  280.  *  you  are  developing  X windows applications and want to test your
  281. programms at home or develop X software at all.
  282.  
  283.  *  you want to improve your result in the hacker test.
  284.  
  285.  *  you  need some special applications which are only available for X
  286. window.
  287.  
  288.  
  289. ----------------------------------------------------------------------
  290. Subject: 20) TOPIC: INSTALLATION OF X11 ON NETBSD-AMIGA
  291. ----------------------------------------------------------------------
  292. Subject: 21) What do i need to run X11 on my platform?
  293.  
  294.    You  need  a  full  installed NetBSD-Amiga to be able to run X11 on
  295. your platform:
  296.  
  297.  Software requirements:
  298.  
  299.    If  you  have  installed your system using the rootfs.720, you will
  300. have all the required devices (probably need to change some protection
  301. flags) , just check if you have the hardware.
  302.  
  303.  - the right kernel.
  304.  
  305.    You need at least the working kernel from #720 and above.  (#721 is
  306. not  working,  #730 does work fine) Be sure you have copied the kernel
  307. to  /vmunix,  or  made  a  symbolic link to it.  To use the vmunix.730
  308. kernel copy it to the / directory.  Then link it:
  309.  ln -s /vmunix.730 /vmunix
  310.  
  311.    Copying  the kernel has the problem of knowing just what version of
  312. the  kernel  is  being  used,  by using symbolic links this problem is
  313. avoided  (unless  you  have  the kernfs mounted, then you can do:  cat
  314. /kernfs/version)
  315.  
  316.  - shared libraries
  317.  
  318.    You  don't  need  them, but the static linked X11R5 distribution is
  319. about 30MB _compressed_ alone!
  320.  
  321.    There  are  two  releases  of X11R5 for NetBSD-Amiga, this FAQ will
  322. only  deal with the most advanced and the best compromise of them all:
  323. that  is  shared  libraries,  which  yield  small binaries (most of us
  324. fellows  are  complaining about beeing short on place) and less memory
  325. consuming, although the shared libraries tend to be swapped themself.
  326.  
  327.  - installed and working local network configuration.
  328.    
  329.    Make  soure you can 'ping' localhost.  You may try X without having
  330. a  network  installed,  but  this  could  end  into problems with some
  331. specific clients.
  332.  
  333.    For  me  it  does not make any sense, but i have been reported that
  334. many  users  want  to start X window from within single user mode.  If
  335. you  are  one  of  those crazy guys, assure yourself that you have the
  336. local  network  running:  "ifconfig lo0 127.0.0.1" is the bare minimum
  337. you need, followed by "route add localhost localhost".
  338.  
  339.  - installed /dev/grf* devices.
  340.  
  341.    Make  sure you have the graphic devices installed.  This needs also
  342. at  least  a  kernel above #713.  See normal NetBSD-FAQ for the inodes
  343. (minor/major).
  344.  
  345.    You  can  change  the  size  and the colors of the display with the
  346. iteconfig tool (for ECS).
  347.  
  348.  - installed /dev/mouse0 or /dev/mouse1  and /dev/kbd devices.
  349.  
  350.    Make  sure  you have a recent kernel and have installed the inodes.
  351. See normal NetBSD-FAQ for the inodes (minor/major).
  352.  
  353.    (check with: cat </dev/mouse0 and move mouse)
  354.  
  355.    (mouse0  is  mouse-port,  mouse1  is  joystick-port, which can also
  356. connect a mouse)
  357.  
  358.  - A bit of time and patience.
  359.  
  360.    You  need  about  1 hour to install X11 on your system, if you have
  361. all the files handy and have a bit knowledge of Unix.  You will need a
  362. bit   more   time   if   you   never   have   worked   with   X11   as
  363. system-administrator.
  364.  
  365.  Hardware requirements:
  366.  
  367.    You  need  an  Amiga  (running  NetBSD-Amiga  alas) with the native
  368. ECS/AGA chipset (1MB ChipRAM), a keyboard, a mouse and, you've guessed
  369. it, a Monitor and a hard drive.
  370.  
  371.    Bare Minimum is: A500 with accelerator card and 1084 compatible
  372.                     Monitor.
  373.  
  374.    Recommended are: A3000 and a MultiSync Monitor
  375.                     A2000 with accelerator card (don't forget the MMU)
  376.                           a flicker-fixer and a MultiSynch Monitor
  377.  
  378.    Working is also: A4000/040 with SCSI hostadaptor, if available
  379.                     Scanline-doubler, MultiSync Monitor
  380.  
  381.    All configs:  At least 4MB RAM, recommended are 8MB, the best is more
  382.                  RAM....
  383.  
  384.    All configs:  You need at least 10MB of swap space, recommended are
  385. 30MB  (make  that:   at  least  thrice the amount of your RAM).  Check
  386. 'swapinfo'  once you started X on your system to see the needed amount
  387. of swap.
  388.                   
  389.    If  you  want  more  than  the  ECS/AGA  chipset  for  the display:
  390. Currently   only  the  Retina  graphics  board  from  Marcosystems  is
  391. supported.
  392.  
  393.    It  is  strongly  recommended  to  get a 3 button mouse.  There are
  394. several  types  of  3  button mice for Amiga, for example the original
  395. Mousesystems-mouse  (optical,  like  the mice for Sparcs) available as
  396. Boing!-mouse from Dale Luck, and of course the original Commodore Amix
  397. mouse (400dpi, ball, known as 'pregnant mouse').
  398.  
  399.    Unless  you  have  a  3 button mouse, you will be unable to use the
  400. snap and paste routine in Xterms, also many programms will request the
  401. MMB.  Most of those programms are configurable, some aren't.
  402.  
  403.    If  you  want  to use networking X windows, you need either a A2065
  404. ethernet-card and an installed network, or slip/ppp for modem-access.
  405.  
  406. ----------------------------------------------------------------------
  407. Subject:  22) Which files do i need?
  408.  
  409.   You need the following files to install X11R5 on your system:
  410.  
  411.  - Size     Archive name             Where to install
  412.  
  413.  - 1546381  X11R5-bin.X11.tar.gz     The binaries for /usr/bin/X11
  414.  -  260910  X11R5-include.X11.tar.gz The includes for /usr/include/X11
  415.  -  230031  X11R5-lib.X11.tar.gz     The config files in /usr/lib/X11 
  416.  - 1844750  X11R5-usr.lib.tar.gz     The shared libs for /usr/lib/X11
  417.  - 3650140  X11R5-lib.X11.fonts.tar.gz The fonts for /usr/lib/X11/fonts
  418.  
  419.    They  are  made  available  on your next NetBSD-Amiga archive site,
  420. normally in the /pub/NetBSD-Amiga/contrib/bsd/X11 directory.
  421.  
  422.    Extract the archvies and copy the files to the approriate places.
  423.  
  424.    It  is  possible  to  extrace  the  files to another partition, for
  425. example /opt/X11 and then make links to /usr/bin/X11 and /usr/lib/X11.
  426.  
  427.    This prevents to copy all the stuff to the root partition.
  428.  
  429. ----------------------------------------------------------------------
  430. Subject:  23) How to start X11
  431.  
  432.    First choose your desired X-server: 
  433.  
  434.    - Xmono is the current monochrome X-server for ECS/AGA.
  435.      (unless you got Xbsd (same as Xmono) or Xami)
  436.  
  437.    - Xretina is the current 8Bit color server for the Retina board.
  438.  
  439.    I  would  suggest  using a directory structure such as /proj/X11 to
  440. hold  the  X  windows distribution.  When switching from X11R4, X11R5,
  441. and  X11R5 shared I was able to switch between the various versions by
  442. changing  a  single symbolic link.  Even though as distributed the X11
  443. expects    to   be   installed   under   /usr/bin/X11,   /usr/lib/X11,
  444. /usr/include/X11, etc symbolic links can be used here also.
  445.  
  446.    For  our  installation  we  will  concentrate  on  the X11R5-shared
  447. version,  and I will explain what sub-directories are contained in it.
  448. But first lets make a directory to hold the X11R5-shared distribution.
  449.  
  450.  For me this was the command.
  451.    "mkdir /proj/X11R5-shared"
  452.  
  453.  I then create the symbolic link:
  454.   "ln -s /proj/X11R5-shared /usr/X11"
  455.  
  456.  Once  this  symbolic  link  is  created  we will from now on refer to
  457. /usr/X11 instead of /proj/X11R5-shared.
  458.  
  459.  Then
  460.    "mkdir /usr/X11/bin"
  461.    "mkdir /usr/X11/include"
  462.    "mkdir /usr/X11/man"
  463.    "mkdir /usr/X11/lib"
  464.    "mkdir /usr/X11/lib/X11"
  465.  
  466.  Create these additional links:
  467.   "ln -s /usr/X11/include/X11 /usr/include/X11"
  468.   "ln -s /usr/X11/bin /usr/bin/X11"
  469.   "ln -s /usr/X11/lib /usr/lib/X11"
  470.  
  471.  These  links allow the default shell scripts like 'startx' to be used
  472. unmodified.
  473.  
  474.  +++++ Important ++++++
  475.  
  476.  When  shared  X is started up it needs to know where to look for it's
  477. libraries so perform the command
  478.      "ldconfig /usr/X11/lib"
  479.  
  480.  We're  now ready to unpack the distribution into the directories that
  481. we have made.
  482.  
  483.  Go into the /usr/X11 directory and unpack the tar-archvies:
  484.  
  485.   "tar zxvlsPf X11R5-bin.X11.tar.gz"
  486.   (and so on for the other archives)
  487.  
  488.  Go  into  the  /usr/X11/bin  directory  and make a link from X to the
  489. desired server:
  490.  
  491.  "rm X"
  492.  "ln -s Xmono X"   if you want the monochrome ECS/AGA server.
  493.  
  494. Now assure yourself that the fonts are in the right place:
  495.  
  496.  "ls /usr/lib/X11/fonts"  should yield:
  497.  100dpi  75dpi   Speedo  misc
  498.  
  499.  Check   that   /usr/lib/X11/app-defaults   is  not  empty,  also  the
  500. /usr/lib/X11/  directory  itself should contain all those libX*.so.5.0
  501. and libX*.a files.
  502.  
  503.  Add /usr/bin/X11 to the search path of your shell(s).
  504.  
  505.  Best  is  to  make  that  globally in /etc/cshrc or /etc/bash/Bashrc,
  506. possible is to add it to your very own ~/.cshrc .
  507.  
  508.  Add  /usr/bin/X11 at the last place of the search path, this makes it
  509. more reasonable if you are working on the console.
  510.  
  511.  Make  sure there is a global xinitrc in /usr/lib/X11/xinit/xinitrc if
  512. you want one, or if you want a default xinitrc.
  513.  
  514.  If  you  want  your  very  own xinitrc, edit ~/.xinitrc instead.  The
  515. .xinitrc  file  is  read by xinit and will start the initial X clients
  516. you  want.   If there is no ~/.xinitrc nor /usr/lib/X11/xinit/xinitrc,
  517. xinit will stp working right after the start:  back to console.
  518.  
  519.  If  you  want  to  run  xdm  later,  you  need  a  similar file named
  520. ~/.xsession .
  521.  
  522.  The file should contain something like this:
  523.  
  524. -------- snip --------- snap ----------------
  525. #!/bin/sh
  526. #
  527. # Xinitrc or Xsession
  528. #
  529. #  This  is  the  program  that  is  run as the client for the display
  530. #  manager.   This  example  is  quite friendly as it accepts to run a
  531. #  per_user  .xinitrc  file  instead  of  forcing a particular session
  532. #  (global) layout. 
  533.  
  534. PATH=`csh -c 'echo $PATH'` ; export PATH
  535. (sleep 1; exec xterm -geometry 80x24+0+0 -ls ) &
  536. (sleep 2; exec xclock -geometry 60x60-0+0 ) &
  537. (sleep 3; exec xbiff -geometry 60x60-0+65 ) &
  538. # remove the '#' in lines below if you want to use them
  539. #(sleep 4; exec xload -geometry 60x60-0+130 ) &
  540. #(sleep 5; exec xman -geometry 120x60-65+0 ) &
  541. #(sleep 10; exec xmodmap ~/german ) &
  542. exec fvwm
  543. -------- snip --------- snap ----------------
  544.  
  545.  A  local .xinitrc has the advantage that the user can design his very
  546. own X session rather than using a globally defined one.
  547.  
  548.  Give the file execte-permission:
  549.   "chmod +x .xsession"
  550.  
  551.  Now the initial config is done and we start the session:
  552.  
  553.  "startx >&/tmp/startx.log"
  554.  
  555.  (/usr/bin/X11/startx)
  556.  
  557.  If  the X server doesn't start or stops after a shor while, check the
  558. /tmp/startx.log file.
  559.  
  560.  If  you  have  further  problems,  start 'ktrace startx' and once the
  561. problem  occures,  stop  X (if it isnt stopped itself) and do 'kdump |
  562. more' to see what exactly happens.  Most time it is only a small error
  563. in the xinitrc file or a missing path.  See more in this FAQ above.
  564.  
  565. ----------------------------------------------------------------------
  566. Subject:  24)  I can't start anything, what is missing?
  567.  
  568.  Common problem are missing fonts:
  569.   have you installed them into /usr/lib/X11/fonts ?
  570.   (you are sure you installed X fonts, not AmigaDOS fonts? :-)
  571.   have you created a link if installed to another directory rather
  572.   than /usr/lib/X11/fonts ?
  573.  
  574.  missing search path: 
  575.   "echo $PATH" is there a /usr/bin/X11 in it?
  576.  
  577.  wrong DISPLAY-variable:
  578.   it  is  sufficient  to  set  this  variable  to :0.0, localhost:0.0,
  579.   unix:0.0 or <yourmachine>:0.0.
  580.  
  581.  you are in the single user mode: boot into multiuser mode and
  582.  set up a local network, you must be able to ping localhost.
  583.  
  584.  All X clients complain about missing shared X libraries.  These files
  585. are  searched in /usr/lib and /usr/local/lib, and not in /usr/lib/X11.
  586. Use  the  command  "ldconfig  <your/path/to/X11/libs>"  to alter a new
  587. path.
  588.  
  589.  Make sure what problem occures, and try to find related questions and
  590. answers  in this FAQ.  If this still doesn't help, mail to the X gurus
  591. on the net.
  592.  
  593.  See more in this FAQ.
  594. ----------------------------------------------------------------------
  595. Subject:  25)  Startx or xinit can't connect to the X server?
  596.  
  597.  This  problem did mostly occure using the fvwm manager (afvwm, an old
  598. R5 client without (!) shared library support).  This one looks for a X
  599. server  socket in /tmp/.X11-unix/.  Possible solution:  recompile fvwm
  600. with  the  X11R5  shared  libraries,  or  create  a  symlink:   
  601.   "ln  -s /tmp/.X11-unix/X0 /tmp/.X11-unix/X"
  602.  
  603.  Are  you  sure that you have created a symlink from /usr/bin/X11/X to
  604. your desired X server?
  605. ----------------------------------------------------------------------
  606. Subject:  26)  When I use startx, the X server pops up and then exists.
  607.  
  608.  Most probably your xinitrc startup file is wrong.  Make sure it looks
  609. like this:
  610.  
  611. -------- snip --------- snap ----------------
  612. #!/bin/sh
  613. #
  614. # Xinitrc or Xsession
  615. #
  616. #  This  is  the  program  that  is  run as the client for the display
  617. #  manager.   This  example  is  quite friendly as it accepts to run a
  618. #  per_user  .xinitrc  file  instead  of  forcing a particular session
  619. #  (global) layout. 
  620.  
  621. PATH=`csh -c 'echo $PATH'` ; export PATH
  622. (sleep 1; exec xterm -geometry 80x24+0+0 -ls ) &
  623. (sleep 2; exec xclock -geometry 60x60-0+0 ) &
  624. (sleep 3; exec xbiff -geometry 60x60-0+65 ) &
  625. # remove the '#' in lines below if you want to use them
  626. #(sleep 4; exec xload -geometry 60x60-0+130 ) &
  627. #(sleep 5; exec xman -geometry 120x60-65+0 ) &
  628. #(sleep 10; exec xmodmap ~/.german ) &
  629. exec fvwm
  630. -------- snip --------- snap ----------------
  631.  
  632.  Give the execution-flag to this file:
  633.  "chmod +x .xinitrx"
  634.  
  635.  Also  make sure the window manager is available on your system and is
  636. in the search path. 
  637.  
  638. ----------------------------------------------------------------------
  639. Subject:  27)  Looks like I miss some files in /usr/lib/X11
  640.  
  641.  Here's a listing of normal /usr/lib/X11 subdir:
  642.  
  643. drwxr-xr-x  10 root     root          512 Nov 18 05:44 ./
  644. drwxrwxrwx   3 root     root          512 Nov 18 05:11 ../
  645. -rwxr-xr-x   1 root     root         7953 Nov  9  1985 XErrorDB*
  646. drwxr-xr-x   2 root     root          512 Nov  9  1985 app-defaults/
  647. drwxr-xr-x   2 root     root          512 Nov  9  1985 config/
  648. drwxr-xr-x   5 root     root          512 Nov 15 06:38 fonts/
  649. drwxr-xr-x   2 root     root          512 Nov 18 05:24 fvwm/
  650. drw-r--r--   3 root     root          512 Nov 18 05:45 man/
  651. -rwxr-xr-x   1 root     root        16992 Nov  9  1985 rgb*
  652. -rwxr-xr-x   1 root     root            0 Nov  9  1985 rgb.dir*
  653. -rwxr-xr-x   1 root     root            0 Nov  9  1985 rgb.pag*
  654. -rwxr-xr-x   1 root     root        16992 Nov  9  1985 rgb.txt*
  655. drwxrwxrwx   2 root     root          512 Nov 18 03:03 twm/
  656. drwxr-xr-x   2 root     root          512 Nov 18 07:03 xdm/
  657. drwxr-xr-x   2 root     root          512 Nov 18 02:39 xinit/
  658. -rwxr-xr-x   1 root     root         8668 Nov  9  1985 xman.help*
  659.  
  660. Of particular interest are the xdm/ and xinit/ subdirs.  Without these,
  661. you won't get X or xdm to run at all!
  662.  
  663. The xdm/ subdir contains the following files:
  664.  
  665. drwxr-xr-x   2 root     root          512 Nov 18 08:18 ./
  666. drwxr-xr-x  10 root     root          512 Nov 18 08:16 ../
  667. -rwxr-xr-x   1 root     wheel         469 Nov 18 06:55 Xresources*
  668. -rwxr-xr-x   1 root     wheel         435 Nov 18 06:07 Xservers*
  669. -rwxr-xr-x   1 root     wheel         692 Nov 18 06:26 Xsession*
  670. -rwxr-xr-x   1 root     wheel         136 Nov 18 06:13 Xstartup*
  671. -rwxr-xr-x   1 root     root          411 Nov 18 06:10 xdm-config*
  672. -rwxr-xr-x   1 root     root           40 Nov 18 07:03 xdm-pid*
  673.  
  674.  Here's the contents of Xresources:
  675.  
  676. -------- snip --------- snap ----------------
  677. xlogin*login.translations: #override\
  678.      <Key>F1: set-session-argument(failsafe) finish-field()\n\
  679.      <Key>Return: set-session-argument() finish-field()
  680. xlogin*borderWidth: 3
  681. #ifdef COLOR
  682. xlogin*greetColor: CadetBlue
  683. xlogin*failColor: red
  684. #else
  685. xlogin*Login.promptColor: black
  686. xlogin*Login.foreground: black
  687. xlogin*greetColor: black
  688. xlogin*failColor: black
  689. #endif
  690.  
  691. XConsole.text.geometry: 480x130
  692. XConsole.verbose:       true
  693. XConsole*iconic:        true
  694. XConsole*font:          fixed
  695. -------- snip --------- snap ----------------
  696.  
  697.  And Xservers:
  698.  
  699. -------- snip --------- snap ----------------
  700. #
  701. # Xservers file, workstation prototype
  702. #
  703. # This file should contain an entry to start the server on the
  704. # local display; if you have more than one display (not screen),
  705. # you can add entries to the list (one per line).  If you also
  706. # have some X terminals connected which do not support XDMCP,
  707. # you can add them here as well.  Each X terminal line should
  708. # look like:
  709. #       XTerminalName:0 foreign
  710. #
  711. :0 Local local /usr/bin/X11/Xbsd :0
  712. -------- snip --------- snap ----------------
  713.  
  714.  Xsession is a bit bigger:
  715.  
  716. -------- snip --------- snap ----------------
  717. #!/bin/sh
  718. #
  719. # Xsession
  720. #
  721. # This is the program that is run as the client
  722. # for the display manager.  This example is
  723. # quite friendly as it attempts to run a per-user
  724. # .xsession file instead of forcing a particular
  725. # session layout
  726. #
  727.  
  728. case $# in
  729. 1)
  730.      case $1 in
  731.      failsafe)
  732.           exec xterm -geometry 80x24-0-0 -ls
  733.           ;;
  734.      esac
  735. esac
  736.  
  737. startup=$HOME/.xsession
  738. resources=$HOME/.Xresources
  739.  
  740. if [ -f $startup ]; then
  741.      exec $startup
  742.      exec /bin/sh $startup
  743. else
  744.      if [ ! -f $resources ]; then
  745.           resources=$HOME/.Xdefaults
  746.      fi
  747.      if [ -f $resources ]; then
  748.           xrdb -load $resources
  749.      fi
  750.      fvwm &
  751.      exec xterm -geometry 80x24+10+10 -ls
  752. fi
  753. -------- snip --------- snap ----------------
  754.  
  755.  Notice that fvwm is the window manager that gets run!
  756.  
  757.  The contents of Xstartup:
  758.  
  759. -------- snip --------- snap ----------------
  760. #!/bin/sh
  761. #
  762. # Xstartup
  763. #
  764. # This program is run as root after the user is verified
  765. #
  766. if [ -f /etc/nologin ]; then
  767.      exit 1
  768. fi
  769. exit 0
  770. -------- snip --------- snap ----------------
  771.  
  772.  And finally, xdm-config (xdm-pid is created by X):
  773.  
  774. -------- snip --------- snap ----------------
  775. DisplayManager.servers:       /usr/lib/X11/xdm/Xservers
  776. DisplayManager.errorLogFile:  /usr/lib/X11/xdm/xdm-errors
  777. DisplayManager*resources:     /usr/lib/X11/xdm/Xresources
  778. DisplayManager*startup:       /usr/lib/X11/xdm/Xstartup
  779. DisplayManager*session:       /usr/lib/X11/xdm/Xsession
  780. DisplayManager.pidFile:       /usr/lib/X11/xdm/xdm-pid
  781. DisplayManager._0.authorize:  true
  782. DisplayManager*authorize:     false
  783. -------- snip --------- snap ----------------
  784.  
  785.  Now comes the xinit/ subdir, which has only one file in it:
  786.  
  787. drwxr-xr-x   2 root     root          512 Nov 18 02:39 ./
  788. drwxr-xr-x  10 root     root          512 Nov 18 08:16 ../
  789. -rwxr-xr-x   1 root     wheel         830 Nov 18 02:38 xinitrc*
  790.  
  791.  Again, notice the permissions!  Here's the contents of xinitrc:
  792.  
  793. -------- snip --------- snap ----------------
  794. #!/bin/sh
  795.  
  796. userresources=$HOME/.Xresources
  797. usermodmap=$HOME/.Xmodmap
  798. if [ x"$XWINHOME" != x ]; then
  799.     XINIT_DIR=$XWINHOME/lib/X11/xinit
  800. else
  801.     XINIT_DIR=/usr/X386/lib/X11/xinit
  802. fi
  803. sysresources=$XINIT_DIR/.Xresources
  804. sysmodmap=$XINIT_DIR/.Xmodmap
  805.  
  806. # merge in defaults and keymaps
  807.  
  808. if [ -f $sysresources ]; then
  809.     xrdb -merge $sysresources
  810. fi
  811.  
  812. if [ -f $sysmodmap ]; then
  813.     xmodmap $sysmodmap
  814.  
  815. f [ -f $userresources ]; then
  816.     xrdb -merge $userresources
  817. fi
  818.  
  819. if [ -f $usermodmap ]; then
  820.     xmodmap $usermodmap
  821. fi
  822.  
  823. # start some nice programs
  824.  
  825. fvwm &
  826. xclock -geometry 50x50-1+1 &
  827. xterm -geometry 80x50+494+51 &
  828. xterm -geometry 80x20+494-0 &
  829. exec xterm -geometry 80x66+0+0 -name login
  830. -------- snip --------- snap ----------------
  831.  
  832.  Note that the global xinitrc will not be used if there is a
  833. local ($HOME) xinitrc.
  834.  
  835. ----------------------------------------------------------------------
  836. Subject:  30)  TOPIC: BASIC INFORMATION SOURCES AND DEFINITIONS
  837. ----------------------------------------------------------------------
  838. Subject:  31)  What books and articles on X are good for beginners?
  839.  
  840.     Ken  Lee  of SynOptics (klee@synoptics.com) regularly posts to
  841. comp.windows.x and ba.windows.x a bibliography containing cites of all
  842. known  reference  books  and how-to manuals and also cites of selected
  843. technical articles on X and X programming; it is ftp-able as
  844.     ftp.x.org:/contrib/Xbibliography and 
  845.     gatekeeper.dec.com:/pub/X11/contrib/Xbibliography
  846.  
  847.  I wont cite the list here, if you are really interested in purchasing
  848. any  books,  let me just give you the title of the most important book
  849. for X windows:
  850.  
  851.  Quercia,  Valerie  and  Tim O'Reilly.  "X Window System User's Guide,
  852. O'Reilly  and  Associates.  A tutorial introduction to using X."  ISBN
  853. 0-937175-36-6.  Also available in R4 and Motif flavors.
  854.  
  855. ----------------------------------------------------------------------
  856. Subject:  32)  What X-related public mailing lists are available?
  857.  
  858.  First   of   all,  there  is  the  NetBSD-Amiga  X11  window  related
  859. NetBSD-x@cbmuucp.commodore.com mailing list.
  860.  
  861.  Please   send   subscribing   mail   (subscribe   <email-adress>)  to
  862. NetBSD-Admin@cbmuucp.commodore.com.
  863.  
  864.  Please  address  to this mailing list if you have ideas, problems and
  865. suggestions for NetBSD-Amiga X windows.
  866.  
  867.  Due to the current state of NetBSD-Amiga X windows, it is recommended
  868. to  first post/mail to the NetBSD-X mailing list before you try to get
  869. answers form the global forum at comp.windows.x.
  870.  
  871. ----------------------------------------------------------------------
  872. Subject:  33)  What related FAQs are available?
  873.  
  874.  Most of the below listed FAQs are available on rtfm.mit.edu in pub/
  875.  
  876.     Liam  R.  E.  Quin (lee@sq.sq.com) posts a FAQ on Open Look to
  877. comp.windows.open-look.
  878.  
  879.     Brian  Dealy  posts  a  FAQ  on Motif to comp.windows.x.motif.
  880. Peter    Ware    (ware@cis.ohio-state.edu)    posts    a    FAQ    for
  881. comp.windows.x.intrinsics; it is on ftp.x.org in contrib/FAQ-Xt.
  882.  
  883.  Very  important  for  NetBSD-Amiga  X  window  is  the  following FAQ
  884. (strongly recommended!):
  885.  
  886.     Art  Mulder (art@cs.ualberta.ca) posts to comp.windows.x a FAQ
  887. on maximizing the performance of X.
  888.  
  889.     Steve    Kotsopoulos    (steve@ecf.toronto.edu)    posts    to
  890. comp.windows.x a FAQ about using X on Intel-based Unix systems.
  891.  
  892.     Justin Kibell (jck@citri.edu.au) posts to comp.windows.x a FAQ
  893. on games for X.
  894.  
  895.     Wade Guthrie (wade@nb.rockwell.com) posts to comp.windows.misc
  896. a  FAQ  which includes information on platform-independent GUI (PIGUI)
  897. development kits.
  898.  
  899.     Pete     Phillips     (pete@smtl.demon.co.uk)     posts     to
  900. comp.sources.wanted a FAQ on project-management programs.
  901.  
  902.     The  FAQ  in  alt.binaries.pictures  contains  information  on
  903. viewing images with X and on massaging image formats.
  904.  
  905.     The  FAQ  in  comp.mail.mh (gatewayed to MH-users@ics.uci.edu)
  906. includes a section on xmh.
  907.  
  908.     The  FAQ  in  comp.lang.lisp  contains  information on several
  909. interface tools and toolkits.
  910.  
  911.     The  FAQ for the Andrew User Interface System is available for
  912. ftp from emsworth.andrew.cmu.edu (128.2.45.40).
  913.     
  914. ----------------------------------------------------------------------
  915. Subject:  34)  How do I ask a net-question so as to maximize helpful responses?
  916.  
  917.     When asking for help on the net or X mailing lists, be sure to
  918. include  all information about your setup and what you are doing.  The
  919. more  specific  you are, the more likely someone will spot an error in
  920. what  you are doing.  Without all the details, people who want to help
  921. you often have to guess -- if they are able to respond at all.
  922.  
  923.     Always  mention  what version of X you are using and where you
  924. got  it from.  If your server came from a different source as the rest
  925. of  your  X system, give details of that, too.  Give the machine type,
  926. operating system, (kernel version) and O/S version for both the client
  927. and  server machine.  It may also be appropriate to mention the window
  928. manager, compiler, and display hardware type you are using.
  929.  
  930.     Then  tell  exactly  what you are doing, exactly what happens,
  931. and  what  you  expected/wanted  to  happen.   If it is a command that
  932. fails,  include  the  exact transcript of your session in the message.
  933. If  a  program  you  wrote doesn't work the way you expect, include as
  934. little  of  the source necessary (just a small test case, please!) for
  935. readers to reproduce the problem.
  936.  
  937. ----------------------------------------------------------------------
  938. Subject:  35)  What are these common abbreviations/acronyms?
  939.  
  940.     Xt:   The  X  Toolkit  Intrinsics is a library layered on Xlib
  941. which provides the functionality from which the widget sets are built.
  942. An "Xt-based" program is an application which uses one of those widget
  943. sets and which uses Intrinsics mechanisms to manipulate the widgets.
  944.  
  945.     Xmu:  The Xmu library is a collection of Miscellaneous Utility
  946. functions useful in building various applications and widgets.
  947.  
  948.     Xaw:   The  Athena  Widget  Set  is the MIT-implemented sample
  949. widget set distributed with X11 source.
  950.  
  951.     Xm:    The   OSF/Motif  widget  set  from  the  Open  Software
  952. Foundation; binary kits are available from many hardware vendors.
  953.  
  954.     Xhp (Xw):  The Hewlett-Packard Widget Set was originally based
  955. on R2++, but several sets of patches exist which bring it up to R3, as
  956. it  is  distributed  on  the  X11R4  tapes.   Supplemental patches are
  957. available to use it with R4/R5.
  958.  
  959.     CLX:   The Common Lisp X Interface is a Common Lisp equivalent
  960. to Xlib.
  961.  
  962.     XDMCP:   The  X  Display  Manager  Protocol provides a uniform
  963. mechanism for a display such as an X terminal to request login service
  964. from a remote host.
  965.  
  966.     XLFD:   The X Logical Font Description Conventions describes a
  967. standard  logical  font  description  and  conventions  to  be used by
  968. clients so that they can query and access those resources.
  969.  
  970.     RTFM:   Common expert-speak meaning "please locate and consult
  971. the relevant documentation -- Read the Forgotten Manual".
  972.  
  973.     UTSL:  A common expression meaning "take advantage of the fact
  974. that you aren't limited by a binary license -- Use The Source, Luke".
  975.  
  976.     API:   Application-Programmer  Interface.  The function calls,
  977. etc., in a programming library.
  978.  
  979.     BDF:   Bitmap Distribution Format; a human-readable format for
  980. uncompiled X fonts.
  981.  
  982.     GUI:  graphical user interface.
  983.  
  984.     UIL:   the  User  Interface  Language, part of OSF/Motif which
  985. lets programmers specify a widget hierarchy in a simple "outline" form
  986.  
  987.     WCL:   the  Widget  Creation Language, a package which extends
  988. the  understanding  of  the  Xt  resource  format  such  that a widget
  989. hierarchy  and  actions  on  the  widgets can be specified through the
  990. resources file
  991.  
  992.     GIL:   the file format put out by Sun's OpenWindows Developers
  993. Guide 3.0
  994.  
  995.     UIMS:  User Interface Management System
  996.  
  997. ----------------------------------------------------------------------
  998. Subject:  36)  Just what are OPEN LOOK and Motif?
  999.  
  1000.     OPEN  LOOK and Motif are two graphical user interfaces (GUIs).
  1001. OPEN  LOOK  was developed by Sun with help from AT&T and many industry
  1002. reviewers;  Motif  was developed by the Open Software Foundation (OSF)
  1003. with input from many OSF members.
  1004.  
  1005.     OPEN  LOOK  is  primarily  a  user-interface specification and
  1006. style-guide;  there  are several toolkits which can be used to produce
  1007. OPEN LOOK applications.  Motif includes an API specification; the only
  1008. sanctioned  Motif  toolkit  is  the  one from OSF.  However, there are
  1009. other  toolkits  which  can be used to produce programs which look and
  1010. behave   like   OSF/Motif;   one   of   these,  ParcPlace's  (formerly
  1011. Solbourne's)  OI, is a "virtual toolkit" which provides objects in the
  1012. style of OPEN LOOK and Motif, at the user's choice.
  1013.  
  1014.     OPEN  LOOK  GUI  is  also  the  name  of  a product from AT&T,
  1015. comprising  their  OPEN  LOOK  Intrinsics  Toolkit  and  a  variety of
  1016. applications.
  1017.  
  1018. [Thanks to Ian Darwin, ian@sq.com, 5/91]
  1019.  
  1020.     With  the recent COSE announcement it appears that Sun will be
  1021. phasing  out  support for OPEN LOOK in favor of Motif.  [last modified
  1022. 10/91]
  1023.  
  1024. ----------------------------------------------------------------------
  1025. Subject:  40)  TOPIC: USING X IN DAY-TO-DAY LIFE
  1026. ----------------------------------------------------------------------
  1027. Subject:  41) What are all these different window managers?
  1028.  
  1029.  Do  not  despaire,  you  can  compile almost every window manager for
  1030. NetBSD-Amiga  X  windows,  currently available are two window managers
  1031. which are ready to use and distributed as binaries for the users among
  1032. us  which  do  not want to hold the entire or partial MIT contrib tree
  1033. for X11:  twm and fvwm (both in the normal /contrib/bsd/X11/ archive).
  1034.  
  1035.     The  window  manager  in X is just another client -- it is not
  1036. part  of the X window system, although it enjoys special privileges --
  1037. and  so  there  is  no  single window manager; instead, there are many
  1038. which support different ways for the user to interact with windows and
  1039. different  styles  of  window  layout,  decoration,  and  keyboard and
  1040. colormap  focus.  The window manager is responsible for the outfit and
  1041. look of every window which is beeing displayed on the screen (which is
  1042. driven by a X-server).
  1043.  
  1044.  In approximate chronological orderi (some of the managers are not yet
  1045. available  in  binary  form for NetBSD-Amiga, and maybe never will for
  1046. some other reasons):
  1047.  
  1048.     wm:  this simple title-bar window manager was phased out in R2
  1049. or R3
  1050.       (not available for NetBSD-Amiga X windows).
  1051.  
  1052.     uwm:   the  Universal  Window Manager is still popular for its
  1053. speed,  although  it  is  very  outdated.  Moved to contrib/ on the R4
  1054. tape.
  1055.       (not available for NetBSD-Amiga X windows).
  1056.  
  1057.     twm  (old):   Tom's Window Manager was among the first non-MIT
  1058. window  managers  and  offered  the user a great deal of customization
  1059. options in a re-parenting window manager.
  1060.       (not available for NetBSD-Amiga X windows).
  1061.  
  1062.     awm:   the  Ardent Window Manager remains a hotbed for hackers
  1063. and  offers  some  features  (dynamic menus) not found on more current
  1064. window managers
  1065.       (not available for NetBSD-Amiga X windows).
  1066.  
  1067.     mwm:   the  Motif  window  manager  is  part  of the OSF/Motif
  1068. toolkit
  1069.       (not available for NetBSD-Amiga X windows, needs Motif license).
  1070.  
  1071.     olwm (Sun):  olwm implements the OPEN LOOK GUI and some of the
  1072. Style Guide functionality
  1073.     olwm (AT&T):  ditto
  1074.       (not available for NetBSD-Amiga X windows).
  1075.  
  1076.     gwm:   Bull's  Generic  Window  Manager emulates others with a
  1077. built-in  Lisp interpreter.  Version 1.7h (10/91) is on the R5 contrib
  1078. tape; 1.7o is on avahi.inria.fr and ftp.x.org.  [9/93]
  1079.       (not available for NetBSD-Amiga X windows).
  1080.  
  1081.     twm  (new):   the new Tab Window Manager from the R4 tape is a
  1082. reworked  twm  and is the basis for several derivatives, including the
  1083. one on the R5 tape
  1084.       (standard in NetBSD-Amiga X distribution)
  1085.  
  1086.     vtwm:   vtwm  offers  some  of the virtual-desktop features of
  1087. swm,  with  a single-root window implementation; it is based on the R4
  1088. twm  and is available on archive servers.  A new version, vtwm-5.2, is
  1089. based on R5 and is available from ftp.x.org.  [9/93]
  1090.       (not available for NetBSD-Amiga X windows).
  1091.  
  1092.     tvtwm:   Tom's Virtual Tab Window Manager is also based on the
  1093. new  twm  and  provides  a virtual desktop modeled on the virtual-root
  1094. window of swm.  It is available on archive servers
  1095.       (not available for NetBSD-Amiga X windows).
  1096.  
  1097.     mvwm:   the  vtwm-style virtual-desktop added to OSF's mwm.  A
  1098. beta    version    is    floating    around    (most   recently   from
  1099. suresh@unipalm.co.uk) but requires a source license to OSF/Motif 1.1.3
  1100. [3/92].
  1101.       (not available for NetBSD-Amiga X windows).
  1102.  
  1103.     ctwm:   Claude Lecommandeur's (lecom@sic.epfl.ch) modification
  1104. of the R5 twm offers 32 virtual screens in the fashion of HP vuewm and
  1105. also  offers  the window overview used in vtwm and tvtwm.  Version 3.0
  1106. [7/93] source is on ftp.x.org.
  1107.       (not available for NetBSD-Amiga X windows).
  1108.  
  1109.     fvwm:   this  small  window manager done for Linux offers a 3D
  1110. look  and  virtual  workspaces;  sources  are  on  sunsite.unc.edu  in
  1111. /pub/Linux/X11/window-managers/fvwm-1.0.5-source.tar.z.
  1112.       (available on NetBSD-Amiga archive ftp site and mirrors)
  1113.  
  1114. ----------------------------------------------------------------------
  1115. Subject:  42)  Why does my X session exit when I kill my window manager (sic)?
  1116.  
  1117.     It  needn't.   What  is  probably  happening  is  that you are
  1118. running  your  window  manager  as  the  last job in your .xsession or
  1119. .xinitrc  file;  your  X  session runs only as long as the last job is
  1120. running,  and  so killing your window manager is equivalent to logging
  1121. out.   Instead,  run  the window manager in the background, and as the
  1122. last job instead invoke something safe like:
  1123.  
  1124.         exec xterm -name Login -rv -iconic
  1125.  
  1126. (see, there is no '&' to run this xterm in background)
  1127. or  any  special  client  of  your  devising  which exits on some user
  1128. action.   Your  X session will continue until you explicitly logout of
  1129. this window, whether or not you kill or restart your window manager.
  1130.     Alternatively,  there is a chance that you are using OpenLook,
  1131. which  by  default kills all clients on logging out.  Change your Exit
  1132. menu choice from EXIT to WMEXIT to correct this behavior.
  1133.  
  1134. ----------------------------------------------------------------------
  1135. Subject:  43)  Can I save the state of my X session, like toolplaces does?
  1136.  
  1137.     Although  no  known  window  manager  directly supports such a
  1138. feature  --  which  may  be  equivalent  to  writing out a .xinitrc or
  1139. .xsession  file naming the geometry and WM_COMMAND of each application
  1140. (but  olvwm  may  have  something  close)  --  there  is a contributed
  1141. application  which  does much of what you are looking for, although it
  1142. is  not  as  complete as the SunView program toolplaces.  Look for the
  1143. application  "xplaces"  on  an  archive-server  near  you.   There are
  1144. several  versions  of  this program floating around; look for a recent
  1145. vintage.  [10/90]
  1146.  
  1147.     Some  new  pseudo  session-managers such as HP's vuewm provide
  1148. for  the  saving  of sessions including information on the geometry of
  1149. currently-running  applications  and  the  resource  database.  [Bjxrn
  1150. Stabell (bjoerns@staff.cs.uit.no); 3/93.]
  1151.  
  1152. ----------------------------------------------------------------------
  1153. Subject:  44)  How do I change the keyboard auto-repeat rate?
  1154.  
  1155.     You  can  turn auto-repeat on or off by using "xset r on|off".
  1156. The  X  protocol, however, doesn't provide for varying the auto-repeat
  1157. rate, which is a capability not supported by all systems.
  1158.  
  1159.     Some  servers  running  on systems that support this, however,
  1160. may  provide  command-line flags to set the rate at start-up time.  If
  1161. you have control over server start-up (see the man pages for xinit and
  1162. xdm), you can invoke the server with the chosen settings; for example,
  1163. you  can  start the Xsun sample server with the options "-ar1 350 -ar2
  1164. 30" to reduce the sensitivity of the keyboard.
  1165.  
  1166. ----------------------------------------------------------------------
  1167. Subject:  45)  How do I remap the keys on my keyboard to produce a string?
  1168.  
  1169.     There  is no method of arranging for a particular string to be
  1170. produced  when  you press a particular key.  The xmodmap client, which
  1171. is  useful  for  moving  your CTRL and ESC keys to useful places, just
  1172. rearranges keys and does not do "macro expansion."
  1173.  
  1174.     Some  (few)  clients,  including  xterm  and  several  X-based
  1175. editors, accept a translation resource such as:
  1176.  
  1177.     xterm*VT100.Translations: #override \
  1178.         <Key>F1: string("setenv DISPLAY unix:0")
  1179.  
  1180. which  permits  the  shorthand  F1  to be pressed to reset the display
  1181. locally  within  an  xterm; it takes effect for new xterm clients.  To
  1182. include  control  characters in the string, use \nnn, where nnn is the
  1183. octal encoding of the control character you want to include.
  1184.  
  1185.     Window  managers,  which  could  provide this facility, do not
  1186. yet; nor has a special "remapper" client been made available.
  1187.  
  1188. ----------------------------------------------------------------------
  1189. Subject:  46)  How do I make a screendump or print my application 
  1190.                (including menus)?
  1191.  
  1192.     The  xwd client in the X11 distributions can be used to select
  1193. a  window  or  the  background.  It produces an XWD-format file of the
  1194. image  of  that window.  The file can be post-processed into something
  1195. useful  or  printed  with  the  xpr  client  and  your  local printing
  1196. mechanism.   To  print  a  screendump including a menu or other object
  1197. which has grabbed the pointer, you can use this command:
  1198.         csh% sleep 10; xwd -root > output.xwd &
  1199. and  then  spend  10  seconds or so setting up your screen; the entire
  1200. current display will be saved into the file output.xwd.  Note that xwd
  1201. also  has  an  undocumented  (before  R5)  -id flag for specifying the
  1202. window  id on the command-line.  [There are also unofficial patches on
  1203. ftp.x.org  to  xwd  for  specifying  the  delay and the portion of the
  1204. screen to capture.]
  1205.  
  1206.     Two   publicly-available   programs  which  allow  interactive
  1207. definition  of  arbitrary  portions of the display and built-in delays
  1208. are asnap and xgrabsc.  There are several versions of xgrabsc; version
  1209. 2.3, available on ftp.x.org [9/93] is the most recent.  xgrab, part of
  1210. the package, is an interactive front-end to xgrabsc.
  1211.  
  1212.     xsnap  includes some asnap features and supersedes it; it also
  1213. renders XPM output [version unknown].  It is available on ftp.x.org or
  1214. avahi.inria.fr; see xsnap-pl2.tar.Z.
  1215.  
  1216.     A screen-dump and merge/edit program combining features of xwd
  1217. and   xpr  is  available  from  vernam.cs.uwm.edu  as  xdump1.0.tar.Z.
  1218. Information:  soft-eng@cs.uwm.edu.
  1219.  
  1220.     xprint,  by  Alberto  Accomazzi  (alberto@cfa.harvard.edu)  is
  1221. available       from      cfa0.harvard.edu      (128.103.40.1)      as
  1222. /pub/wipl/xprint.export-2.1.tar.Z.  The package allows users to create
  1223. encapsulated color PostScript files which will print on any PostScript
  1224. Level-1 compliant printer (black and white or color).
  1225.  
  1226.     To post-process the xwd output of some of these tools, you can
  1227. use  xpr,  which  is  part  of  the X11 distribution.  Also on several
  1228. archives  are  xwd2ps and XtoPS, which produce Encapsulated PostScript
  1229. with    trimmings    suitable    for   use   in   presentations   (see
  1230. ftp.x.org:contrib/xwd2ps.tar.Z  and contrib/ImageMagick2.3.4.2.tar.Z).
  1231. Also useful is the PBMPLUS/Netpbm package on many archive servers; and
  1232. the Xim package contains Level 2 color PostScript output.
  1233.  
  1234.     The XV program can grab a portion of the X display, manipulate
  1235. it,  and  save  it  in  one of the available formats.  ImageMagick has
  1236. similar capabilities.
  1237.  
  1238.     Also:
  1239.  
  1240.     Bristol  Technology  (info@bristol.com,  203-438-6969)  offers
  1241. Xprinter  2.0,  an Xlib API for PostScript and PCL printers; a demo is
  1242. on ftp.uu.net in vendor/Bristol/Xprinter.
  1243.  
  1244.     ColorSoft  9619-459-8500)  offers OPENprint package includes a
  1245. screen- capture facility, image-processing, and support for PostScript
  1246. and non-PostScript printers.
  1247.  
  1248.     Some  vendors'  implementations  of  X  (e.g.   DECWindows and
  1249. OpenWindows)  include session managers or other desktop programs which
  1250. include  "print portion of screen" or "take a snapshot" options.  Some
  1251. platforms  also  have tools which can be used to grab the frame-buffer
  1252. directly;  the  Sun  systems, for example, have a 'screendump' program
  1253. which  produces  a  Sun  raster  file.   Some  X  terminals have local
  1254. screen-dump utilities to write PostScript to a local serial printer.
  1255.  
  1256.     Some  vendors'  implementations  of  lpr  (e.g.  Sony) include
  1257. direct  support for printing xwd files, but you'll typically need some
  1258. other package to massage the output into a useful format which you can
  1259. get to the printer.
  1260.  
  1261. ----------------------------------------------------------------------
  1262. Subject:  47)  How can I change the titlebar of my xterm window?
  1263.  
  1264.     The  solution  involves  sending  an  escape sequence to xterm
  1265. which  will  cause  it to update the property which the window manager
  1266. relies upon for the string which appears in the window titlebar.
  1267.     A  solution  is  as  easy as typing this in an xterm running a
  1268. shell:
  1269.         echo "ESC]2;TEXT^G"
  1270. where  ESC  is  the  escape  key,  TEXT is the string you wish to have
  1271. displayed,  and  ^G is a Control-G (the BEL character).  Note that the
  1272. semi-colon is demanded by more recent versions of xterm.  (Some shells
  1273. and  editors  need an escape character, typically ^V, before accepting
  1274. control characters literally.)
  1275.  
  1276.     Here  is  a  more  complicated  csh  alias  which  changes the
  1277. titlebar to the current working directory when you change directories:
  1278.         alias newcd 'cd \!*; echo -n ESC]2\;$cwd^G'
  1279. (for  other  shells e.g.  ksh you will need to write a function for cd
  1280. to print this value).
  1281.  
  1282.     The  digit  '2'  in  these  strings indicates to xterm that it
  1283. should  change  only the title of the window; to change both the title
  1284. and  the name used in the icon, use the digit '0' instead, and use '1'
  1285. to change only the icon name.
  1286.  
  1287.     Note:   another  way  to  do this, which prevents an incorrect
  1288. display  of  the  local  directory  if  a  modified  `cd` is used in a
  1289. subshell, is to wrap the escape sequences into the PS1 prompt itself.
  1290.  
  1291.         Note:   another  simple  way is to give xterm the option -t as
  1292. for title.
  1293.  
  1294. ----------------------------------------------------------------------
  1295. Subject:  48)  Where can I find the xterm control sequences?
  1296.  
  1297.  The best source of such information is in your R5 sources in the file
  1298. ctlseqs.ms;        a        PostScript       version       is       in
  1299. mit/hardcopy/clients/ctlseqs.PS.Z.
  1300.  
  1301.  O'Reilly's  Volume  3,  the X User's Guide, includes an R5 version of
  1302. the control sequences; the standard volume will be available 3/93, and
  1303. a  Motif version of the book is available now.  The current (R4) guide
  1304. includes an outdated version of the control sequences.  [1/93]
  1305.  
  1306.  Other  good  sources  of  information  include the R4 version of that
  1307. document    and   also   the   file   in   the   R4   sources   called
  1308. mit/clients/xterm/ctlseq2.txt,  a  compilation  put  together  by Skip
  1309. Montanaro (GE CR&D) listing the VT100 sequences.  It dates from R3 but
  1310. is  fairly accurate.  A hardcopy version was published in the December
  1311. 1989 XNextEvent (the XUG newsletter).
  1312.  
  1313.  In a pinch, a VT100 manual will do.
  1314.  
  1315. [last updated 10/91]
  1316.  
  1317. ----------------------------------------------------------------------
  1318. Subject:  49)  How can I use characters above ASCII 127 in xterm ?
  1319.  
  1320.     In  order  to use special characters such as the o-umlaut, you
  1321. need to "stty pass8" but also to use a charcell ISO8859 font, such as
  1322.     XTerm*font:     -*-*-medium-r-normal-*-*-130-*-*-c-*-iso8859-1
  1323.     XTerm*boldfont: -*-*-bold-r-normal-*-*-130-*-*-c-*-iso8859-1
  1324. [The family is intentionally unspecified in this example.]
  1325.  
  1326.  If  'stty  pass8' doesn't work, try 'stty cs8 -istrip', if this still
  1327. fails,  try  using another shell, at least the NetBSD-Amiga csh should
  1328. be able to display ASCII 127 and above.
  1329.  
  1330.  In addition, you may want to set this in your shell:
  1331.     setenv LC_CTYPE iso_8859_1
  1332.  
  1333.     For  a given character above 127, you can determine the key to
  1334. use  with  the  Alt modifier by finding the equivalent character below
  1335. 127  (try  using `man ascii`).  For example, o-umlaut (ö) is Alt-v and
  1336. the section character (') is Alt-'.
  1337.  
  1338. [thanks to Greg Holmberg (greg%thirdi@uunet.uu.net) and Stephen Gildea
  1339. (gildea@x.org); 6/92]
  1340.  
  1341.  If everything went ok, you should be able to read this:
  1342.  Smørebrød, Büßer, Änderung, Resumé, öäüßå°©®þ¤µ¡ø¶
  1343.  
  1344. ----------------------------------------------------------------------
  1345. Subject:  50)  Why are my xterm menus so small (sic) ?
  1346.  
  1347.     You  are probably setting the geometry small accidentally.  If
  1348. you give a resource specification like this:
  1349.  
  1350.         xterm*geometry: 80x24
  1351.  
  1352. then you are asking for all widgets under xterm to have their geometry
  1353. set  to 80x24.  For the main window, this is OK, as it uses characters
  1354. for  its size.  But its popup menus don't; they are in pixels and show
  1355. up  small.   To  set  only  the  terminal widget to have the specified
  1356. geometry, name it explicitly:
  1357.  
  1358.         xterm*VT100.geometry: 80x24
  1359.  
  1360. ----------------------------------------------------------------------
  1361. Subject:  51)  How to I have xdm put a picture behind the log-in window?
  1362.  
  1363.  The  answer  lies  in  changing xdm's xrdb resource in the xdm-config
  1364. file  to  run  a  program  to change the background before loading the
  1365. resources;  for example, your /usr/lib/X11/xdm/xdm-config file may add
  1366. the line
  1367.  
  1368.     DisplayManager.0.authorize: false 
  1369.  
  1370. to  permit  unrestricted access to the display before log-in (beware!)
  1371. and also
  1372.  
  1373.     DisplayManager*xrdb:    /usr/lib/X11/xdm/new.xrdb 
  1374.  
  1375. where  that  file does something (for all connections) along the lines
  1376. of:
  1377.  
  1378. -------- snip --------- snap ----------------
  1379.   #!/bin/sh 
  1380.   #comes in with arguments: -display :0 \
  1381.   #                         -load /usr/lib/X11/xdm/Xresources
  1382.   /usr/bin/X11/xsetroot -display $2 -bitmap /usr/lib/X11/xdm/new.bitmap 
  1383.   /usr/bin/X11/xrdb $* 
  1384. -------- snip --------- snap ----------------
  1385.  
  1386. Substitute xloadimage or xv for xsetroot, to taste.  Note that this is
  1387. a  general  hack  that  can  be used to invoke a console window or any
  1388. other client.
  1389.  
  1390. [Thanks to Jay Bourland (jayb@cauchy.stanford.edu), 9/91]
  1391.  
  1392. ----------------------------------------------------------------------
  1393. Subject:  52) How to have a picture on the root window?
  1394.  
  1395.  You probably don't really want to, as this process will slow down
  1396.  your system:
  1397.  
  1398. [Art Mulder (art@cs.ualberta.ca) x-faq/speedups]
  1399.  
  1400.   Don't use large bitmaps (GIF's, etc) as root window backgrounds.
  1401.  
  1402.   -  The  more  complicated  your  root  window bitmap, the slower the
  1403.      server  is  at  redrawing your screen when you reposition windows
  1404.      (or redraw, etc)
  1405.  
  1406.   -  These  take up RAM, and CPU power.  I work on a Sun SPARC and I'm
  1407.      conscious of performance issues, I can't comprehend it when I see
  1408.      people with a 4mb Sun 3/60 running xphoon as their root window.
  1409.      [same applies to 4MB Amiga's of course -Markus]
  1410.  
  1411.     I'll let someone else figure out how much RAM would be occupied by
  1412.     having a full screen root image on a colour workstation.
  1413.  
  1414.   - If you're anything like me, you need all the screen real estate
  1415.     that  you  can  get for clients, and so rarely see the root window
  1416.     anyway.
  1417.  
  1418.  If  you give a shit on all this, then try xsetroot -bitmap or give XV
  1419.  -root a try.
  1420.  
  1421. ----------------------------------------------------------------------
  1422. Subject:  53)  Why isn't my PATH set when xdm runs my .xsession file?
  1423.  
  1424.     When  xdm runs your .xsession it doesn't source your .cshrc or
  1425. .login  files.   You can set the path explicitly as you normally could
  1426. for any SH script; or you can place all environment-setting statements
  1427. in a separate file and source it from both the .xsession file and your
  1428. shell  configuration  file;  or,  if  you set your PATH in your .cshrc
  1429. file,  the  normal  place,  you  can make your .xsession have PATH set
  1430. simply  by  making  it  a csh script, i.e.  by starting your .xsession
  1431. file off with "#!/bin/csh".
  1432.   if this doesn't work, also try starting off with:
  1433.  
  1434. -------- snip --------- snap ----------------
  1435.   #!/bin/sh  
  1436.   #  Reset path:  
  1437.   PATH=`csh -c 'echo $PATH'` ; export PATH
  1438. -------- snip --------- snap ----------------  
  1439.  
  1440. ----------------------------------------------------------------------
  1441. Subject:  54)  How do I keep my $DISPLAY when I rlogin to another machine?
  1442.  
  1443.     There are several ways to avoid having to do a "setenv DISPLAY
  1444. ..." whenever you log in to another networked UNIX machine running X.
  1445.  
  1446.     One  solution  is  to  use  the clients/xrsh on the R5 contrib
  1447. tape.   It includes xrsh, a script to start an X application on remote
  1448. machine,  and  xrlogin, a script to start a local xterm running rlogin
  1449. to  a  remote  machine.   A  more  recent  version  is  on  export  in
  1450. xrsh-5.4.shar.
  1451.     One  solution  is  to  use  the xrlogin program from der Mouse
  1452. (mouse@larry.mcrcim.mcgill.edu).   You  can ftp caveat-emptor versions
  1453. from  132.206.1.1,  in  X/xrlogin.c  and  X/xrlogind.c.   The  program
  1454. packages  up $TERM and $DISPLAY into a single string, which is stuffed
  1455. into $TERM.  rlogin then propagates $TERM normally; your .cshrc on the
  1456. remote machine should contain
  1457.         eval `xrlogind`
  1458. where  xrlogind  is  a  program  that checks $TERM and if it is of the
  1459. special  format  it  recognizes,  unpacks  it and spits out setenv and
  1460. unsetenv commands to recreate the environment variables.  [11/90]
  1461.  
  1462.     In addition, if all you need to do is start a remote X process
  1463. on another host, and you find
  1464.         rsh <HOST> -n /usr/bin/X11/xterm -display $DISPLAY 
  1465. too  simple  (DISPLAY must have your real hostname), then this version
  1466. of  xrsh  can  be used to start up remote X processes.  The equivalent
  1467. usage would be
  1468.         "xrsh <HOST> xterm"
  1469.  
  1470. -------- snip --------- snap ----------------
  1471.   #! /bin/sh
  1472.   # start an X11 process on another host
  1473.   # Date: 8 Dec 88 06:29:34 GMT
  1474.   # From: Chris Torek <chris@mimsy.umd.edu>
  1475.   # rsh $host -n "setenv DISPLAY $DISPLAY; exec $@ </dev/null >&/dev/null"
  1476.   #
  1477.   # An improved version:
  1478.   # rXcmd (suggested by John Robinson, jr@bbn.com)
  1479.   #       (generalized for sh,ksh by Keith Boyer, keith@cis.ohio-state.edu)
  1480.   #
  1481.   # but they put the rcmd in ()'s which left zombies again.  This
  1482.   # script combines the best of both.
  1483.   
  1484.   case $# in
  1485.   [01])  echo "Usage: $0 host x-cmd [args...]";;
  1486.   *)
  1487.       case $SHELL in
  1488.       *csh*)  host="$1"; shift
  1489.           xhost "$host" > /dev/null
  1490.           rsh "$host" -n \
  1491.               "setenv TERM xterm; setenv DISPLAY `hostname`:0; \
  1492.               exec $* </dev/null >& /dev/null" &
  1493.           ;;
  1494.       *sh)
  1495.           host="$1"; shift
  1496.           xhost "$host" > /dev/null
  1497.           rsh "$host" -n \
  1498.               "TERM=xterm export TERM; \
  1499.               DISPLAY=`hostname`:0 export DISPLAY; \
  1500.               LD_LIBRARY_PATH=/usr/X11/lib export LD_LIBRARY_PATH; \
  1501.               PATH=\$PATH:/usr/X11/bin:/usr/bin/X11:/usr/local/bin; \
  1502.             export PATH; \
  1503.               exec $* < /dev/null > /dev/null 2>&1" &
  1504.           ;;
  1505.       esac
  1506.       ;;
  1507.   esac
  1508. -------- snip --------- snap ----------------
  1509.  
  1510. ----------------------------------------------------------------------
  1511. Subject:  55)  How can i use my localized keyboard?
  1512.  
  1513.  Does it happen that you tzpe kezboard rather than keyboard?
  1514.  Then  you have a localized keyboard and may want to enhance X11 to be
  1515.  able to understand what you type.
  1516.  
  1517.  This  is  fairly  easy  with  xmodmap;  xmodmap is able to change the
  1518.  complete layout of your keyboard, together with qualifying keys it is
  1519.  even  possible  to  access the DIN-Keyboard lying under the localized
  1520.  keyboard just like under AmigaDOS.
  1521.  
  1522.  To  find out the keycode of a specific key, start 'xev' and press the
  1523.  demanded  key.   Then  edit  a  file and enter all the changes there,
  1524.  start xmodmap with 'xmodmap myfile'.
  1525.  
  1526.  Example for Umlauts of german keyboard:
  1527.  
  1528.  keycode  34 = udiaeresis Udiaeresis
  1529.  keycode  49 = odiaeresis Odiaeresis
  1530.  keycode  50 = adiaeresis Adiaeresis 
  1531.  
  1532.  (don't forget to remap [] {} and ' ; before :-)
  1533.  
  1534.  An almost full-blown keycode file for german keyboard is available on
  1535.  the NetBSD-Amiga ftp archives.
  1536.  
  1537. ----------------------------------------------------------------------
  1538. Subject:  60)  TOPIC: OBTAINING X AND RELATED SOFTWARE AND HARDWARE
  1539. ----------------------------------------------------------------------
  1540. Subject:  61)  Is X public-domain software?
  1541.  
  1542.     No.  The X software is copyrighted by various institutions and
  1543. is  not "public domain", which has a specific legal meaning.  However,
  1544. the  X  distribution  is  available  for free and can be redistributed
  1545. without fee.
  1546.     Contributed  software,  though,  may  be  placed in the public
  1547. domain by individual authors.
  1548.  
  1549. ----------------------------------------------------------------------
  1550. Subject:  62)  When is X11R6 rumored to be available?
  1551.  
  1552. The latest tentative schedule is:
  1553.         Beta Release: October 1993
  1554.         Live Release: January 1994
  1555.         Final Release: April 1994
  1556.  
  1557. ----------------------------------------------------------------------
  1558. Subject:  63)  Where can I get X11R5 (source and/or binaries)?
  1559.  
  1560.  Information  about  the  Consortium's  distribution of the sources on
  1561. 6250bpi  and  QIC-24  tape  and  its  distribution  of hardcopy of the
  1562. documents  is  available  from  Software  Center, Technology Licensing
  1563. Office,  Massachusetts  Institute  of  Technology, 28 Carleton Street,
  1564. Room E32-300, Cambridge MA 02142-1324, phone:  617-258-8330.
  1565.  
  1566.  You will need about 100Mb of disk space to hold all of Core and 140MB
  1567. to hold the Contrib software donated by individuals and companies.
  1568.  
  1569.  PLEASE use a site that is close to you in the network.
  1570.  
  1571.  Note that the RELEASE notes are generally available separately in the
  1572. same directory; the notes list changes from previous versions of X and
  1573. offer a guide to the distribution.
  1574.  
  1575. [List of ftp-servers removed, -Markus]
  1576.  
  1577.  Binaries   of   X11R5.25   for   Sun3/SunOS4.1.1   systems   are   on
  1578. ftp.cad.gatech.edu    as    X11R5/X11R5pl25.sun3.gcc242.tar.gz;    the
  1579. distribution includes also binaries of common X tools (remember to get
  1580. the  shared libs for SunOS, too, and to have a spare license for SunOS
  1581. at home :-).
  1582.  
  1583.  Binaries of X11R5 for NetBSD-Amiga are available on ftp.eunet.ch, the
  1584. main  archive  ftp  site  for NetBSD-Amiga and its mirrors in germany:
  1585. ftp.uni-regensburg.de, sweden:  ftp.luth.se and US:  ftp.wustl.edu.
  1586.  
  1587. ----------------------------------------------------------------------
  1588. Subject:  64)  Where can I get other X sources? (including R5 modifications)
  1589.  
  1590.     The MIT Software Center ships the X Test Suite on tape.
  1591.  
  1592.     A  multi-threaded  version  of Xlib based on X11R5 patch 12 is
  1593. now available for anonymous FTP from (new version 1/93):
  1594.         DEC       on       gatekeeper.dec.com       (16.1.0.2)      in
  1595. /pub/X11/contrib/mt-xlib-1.1
  1596.         MIT on ftp.x.org in /contrib/mt-xlib-1.1 Note that this source
  1597. code  will  not become the Xlib used in X11R6, although the Consortium
  1598. is planning to make Xlib thread-safe with that release.
  1599.  
  1600.     HP  has  made  available drivers to permit the building of the
  1601. X11R5  sample server on the HP 9000 Series 700 workstations; the files
  1602. are on ftp.x.org in ~ftp/contrib/R5.HP.SRV.  [8/92]
  1603.  
  1604.     The Edinburgh University Computing Service and European X User
  1605. Group  have created an on-line index of public domain X software.  The
  1606. index  is  available  through  gopher  and  provides  an  index of the
  1607. ftp.x.org/contrib  archive,  the  comp.sources.x archive and various X
  1608. software  found  around the internet.  The service holds manual pages,
  1609. README  files , etc which can be browsed through.  A keyword search of
  1610. the     manual     pages     is     also    provided.     Information:
  1611. xindex@castle.edinburgh.ac.uk.
  1612.  
  1613.     User-contributed software is distributed through the newsgroup
  1614. comp.sources.x,  moderated  by  Chris  Olson (chris@imd.sterling.com);
  1615. also check that group for posting information.
  1616.  
  1617.     Richard  Hesketh  (rlh2@ukc.ac.uk) has been creating a list of
  1618. freely-  available  X  sources.   The  list  is stored on ftp.x.org in
  1619. contrib  as  x-source-list.Z.  It lists the main storage locations for
  1620. the program and international sites from which it may be ftp'ed.
  1621.  
  1622.     The  machine  ftp.x.org  has  a great deal of user-contributed
  1623. software  in  the  contrib/ directory; a good deal of it is present in
  1624. current  or  earlier  versions  on the X11R3, X11R4, and X11R5 contrib
  1625. tapes.  There are also directories for fixes to contrib software.  The
  1626. file  on ftp.x.org in contrib/0ftpxorg.dir is a quick overall index of
  1627. the    software    in   that   area,   provided   by   Daniel   Lewart
  1628. (d-lewart@uiuc.edu).
  1629.  
  1630.     These  sites used to and may still mirror ftp.x.org and are of
  1631. particular  use for Australasia:  Anonymous ftp:  ftp.Adelaide.EDU.AU;
  1632. ACSnet Fetchfile:  sirius.ua.oz.
  1633.  
  1634.     The   material  on  giza.cis.ohio-state.edu,  which  tends  to
  1635. duplicate the ftp.x.org archives, is also available via anonymous UUCP
  1636. from    osu-cis,    at    TB+    and    V.32    speeds.     Write   to
  1637. uucp@cis.ohio-state.edu (same as osu-cis!uucp) for instructions.  [the
  1638. archive is now maintained by Karl Kleinpaste]
  1639.  
  1640.  In    addition,   UUNET   Source   Archives   (703-876-5050)   tracks
  1641. comp.sources.x  and provides 800MB+ of compressed programs on 6250 bpi
  1642. tapes  or  1/4"  tapes.   It  also  mirrors  ftp.x.org/contrib  in its
  1643. packages/X directory.
  1644.     
  1645. ----------------------------------------------------------------------
  1646. Subject:  65)  Where can I get X for the Amiga?
  1647.  
  1648. [this is from the original comp.windows.x FAQ, slightly outdated, eh ?
  1649.  :-) - Markus]
  1650.  
  1651.     The  new  Amiga  3000 machines offer an X server and OPEN LOOK
  1652. tools and libraries on a full SVR4 implementation.
  1653.  
  1654.         GfxBase,  Inc.  provides "X11 R4.1" for the AmigaDos computer;
  1655. it  contains X11R4 clients, fonts, etc., and a Release 4 color server.
  1656. An optional programmer's toolkit includes the header files, libraries,
  1657. and  sample  programs.   Info  from GfxBase, 408-262-1469.  [Dale Luck
  1658. (uunet!{cbmvax|pyramid}!boing!dale); 2/91]
  1659.  
  1660.  To  update  the  above:   there  is  a  freely distributable X server
  1661. available  for  AmigaDOS:   DaggeX,  which  runs on ECS and Picasso II
  1662. graphics board, and is available on the AmiNet.
  1663.  
  1664. ----------------------------------------------------------------------
  1665. Subject:  66)  What terminal emulators other than xterm are available?
  1666.  
  1667.     People  from  PCS  have  rewritten  xterm from scratch using a
  1668. multi-widget  approach that can be used by applications.  Emu supports
  1669. features  like  color, blinking text/cursors.  Emulations can be added
  1670. on  the fly; one emulation provided is for the Vt220.  A version is on
  1671. the  R5  contrib  tape;  the newest release is on ftp.x.org [10/93] in
  1672. contrib/emu.tar.gz.  For more information, contact emu@pcs.com.
  1673.  
  1674.     A  set  of  modifications  for  color  support  to xterm is on
  1675. ftp.x.org in xterm_color.diffs.Z.
  1676.  
  1677.     mxterm,  a Motif-based xterm is available from the Paderborner
  1678. ftp-Server       ftp@uni-paderborn.de       (131.234.2.32),       file
  1679. /unix/X11/more_contrib/mxterm.tar.Z.   A version is also on ftp.x.org,
  1680. as is apparently a set of color modifications.
  1681.  
  1682.     The  Color  Terminal  Widget  provides ANSI-terminal emulation
  1683. compatible  with  the  VTx00  series;  a  version  is  on ftp.x.org in
  1684. contrib/CTW-1.1.tar.Z.   A  Motif version is on ftp.stna7.stna.dgac.fr
  1685. in pub/Term-1.0.tar.Z.
  1686.     
  1687.     kterm 4.1.2 is an X11R4-based vt100/vt102 (and Tektronix 4014)
  1688. terminal  emulator  that  supports  display  of Chinese, Japanese, and
  1689. Korean  text (in VT mode).  Also supported are:  ANSI color sequences,
  1690. multi-byte  word selection, limited Compound Text support, and tab and
  1691. newline  preservation  in  selections.   kterm 4.1.2 is also available
  1692. from these anonymous ftp sites:
  1693.     clr.nmsu.edu:pub/misc/kterm-4.1.2.tar.Z  [128.123.1.14]
  1694.     ftp.x.org:contrib/kterm-4.1.2.tar.Z  
  1695.     kum.kaist.ac.kr:pub/unix/Xstuffs/kterm-4.1.2.tar.Z  [137.68.1.65]
  1696. [courtesy of Mark Leisher <mleisher@nmsu.edu> ]
  1697.  
  1698.     kterm-5.1.1.tar.Z is now on ftp.x.org [12/92].
  1699.  
  1700.     mterm,  by  mouse@larry.McRCIM.McGill.EDU,  is  an  X terminal
  1701. emulator which includes ANSI X3.64 and DEC emulation modes.  mterm can
  1702. be   had   by   ftp   to   larry.mcrcim.mcgill.edu  (132.206.1.1),  in
  1703. X/mterm.src/mterm.ball-o-wax.
  1704.  
  1705.     color_xterm is available from ftp.x.org.
  1706.  
  1707.     Cxterm is a Chinese xterm, which supports both GB2312-1980 and
  1708. the  so-called  Big-5  encoding.   Hanzi input conversion mechanism is
  1709. builtin  in  cxterm.   Most input methods are stored in external files
  1710. that  are  loaded  at run time.  Users can redefine any existing input
  1711. methods  or  create their own ones.  The X11R5 cxterm is the rewritten
  1712. of  cxterm  (version  11.5.1)  based  on  X11R5 xterm; it is in the R5
  1713. contrib  software.   [thanks  to  Zhou  Ning  <zhou@tele.unit.no>  and
  1714. Steinar Bang <uunet!idt.unit.no!steinarb>.]
  1715.  
  1716.     XVT  is  available on ftp.x.org's contrib in xvt-1.0.tar.Z and
  1717. xvt-1.0.README.   It  is  designed to offer xterm's functionality with
  1718. lower  swap space and may be of particular use on systems driving many
  1719. X  terminals.   A  second  version,  2.0,  is  on  unix.hensa.ac.uk in
  1720. misc/unix/xvt/xvt-2.0.tar.Z (see also xvt-2.0.patch1).
  1721.  
  1722.     x3270 is in X11R5 contrib/.
  1723.  
  1724.     The  typescript  application  and  inset  in  the  Andrew User
  1725. Interface System offers a shell script interface.  It does not provide
  1726. curses  support,  but  does permit general cut/copy/paste to construct
  1727. commands or extract a portion of the log.
  1728.  
  1729.     hanterm  (2.0),  by  jksong@cosmos.kaist.ac.kr,  is  an  xterm
  1730. modified to support Hangul (Korean writing system) input/output.  It's
  1731. available                at               several               Korean
  1732. archives(cair.kaist.ac.kr,kum.kaist.ac.kr,etc)  and  seoul.caltech.edu
  1733. in  the US.  This version makes obsolete an older version not based on
  1734. xterm.
  1735.  
  1736.     Another  experimental  hanterm  implementation,  hanterm  (3.0
  1737. alpha),  is underway by Chang Hyeong-Kyu at chk@ssp.etri.re.kr; it was
  1738. written  to  support  a 3-byte Hangul code (dictionary ordered), which
  1739. can compose all possible Hangul characters.
  1740.  
  1741. Also:
  1742.     IBM  sells  a  3270 emulator for the RS/6000 (part #5765-011);
  1743. it's based on Motif.
  1744.     
  1745.     Century   Software   (801-268-3088)  sells  a  VT220  terminal
  1746. emulator  for  X.   VT102, Wyse 50 and SCO Color Console emulation are
  1747. also available.
  1748.  
  1749.     Grafpoint's  TGRAF-X  provides  emulation  of  Tektronix 4107,
  1750. 4125,  and  42xx  graphics  terminals;  it's  available for most major
  1751. platforms.   Information (inc.  free demo copies):  800-426-2230; Fax.
  1752. 408-446-0666; uunet!grafpnt!sales.
  1753.  
  1754.     IXI's  X.deskterm,  a  package for integrating character-based
  1755. applications   into   an   X   environment,   includes   a  number  of
  1756. terminal-emulation modules.  Information:  +44 (0223) 462131.  [5/90]
  1757.  
  1758.     Pericom  produces  Teem-X, a set of several emulation packages
  1759. for  a  number of Tek, DEC, Westward, and Data General terminals.  The
  1760. software   runs   on   Sun  3,  Sun  4,  Apollo,  DEC,  ISC,  IBM/AIX.
  1761. Information:  US:  609-895-0404, UK:  +44 (0908) 560022.  [5/90]
  1762.  
  1763.     SCO's   SCOterm  (info@sco.COM),  part  of  its  Open  Desktop
  1764. environment, is a Motif-compliant SCO ANSI color console emulator.
  1765.  
  1766. ----------------------------------------------------------------------
  1767. Subject:  67)  Does xterm offer colored text or a blinking cursor?
  1768.  
  1769.     No;  these  features  are  not  offered  by the xterm program.
  1770. However,  several  of  the  emulators  mentioned  above do offer these
  1771. features; the list is partial:
  1772.     - mterm, color-xterm, CTW and emu support colored text
  1773.     - mterm and emu support blinking text
  1774.     - mterm and emu support block and underline text cursors
  1775.     - emu supports a blinking text cursor 
  1776.  
  1777. [Thanks to Michael Elbel (me@dude.pcs.com); 10/93]
  1778.  
  1779. ----------------------------------------------------------------------
  1780. Subject:  68)  Where can I get an X-based editor or word-processor?
  1781.  
  1782.     You   can   ftp  a  version  of  GNU  Emacs,  the  extensible,
  1783. customizable,  self-documenting,  real-time  display editor, including
  1784. X11  support, from prep.ai.mit.edu [18.71.0.38]:/pub/gnu/.  Version 19
  1785. has some mouse/menu support.
  1786.     
  1787.     Epoch  is a modified version of Gnu Emacs (18) with additional
  1788. facilities  useful  in  an  X  environment.   Current  sources  are on
  1789. cs.uiuc.edu (128.174.252.1) in ~ftp/pub/epoch-files/epoch; the current
  1790. [3/92]       version      is      4.0.       [In      Europe,      try
  1791. unido.informatik.uni-dortmund.de].    There  are  two  subdirectories:
  1792. epoch  contains  the  epoch source, and gwm contains the source to the
  1793. programmable window manager GWM, with which epoch works well.] You can
  1794. get   on   the   Epoch   mailing   list   by   sending  a  request  to
  1795. epoch-request@cs.uiuc.edu.
  1796.  
  1797.     Lucid  Emacs  is  a version of GNU Emacs derived from an early
  1798. version  of Emacs version 19.  It currently requires X Windows to run;
  1799. X  support  is  greatly  enhanced over GNU Emacs version 18, including
  1800. support  for  multiple  X windows, input and display of all ISO-8859-1
  1801. (Latin1)   characters,   Zmacs/Lispm   style  region  highlighting,  a
  1802. customizable   Motif-like   menubar,  more  powerful  keymap  support,
  1803. flexible  text  attributes, support on regional and screen-local basis
  1804. through  X  resources  and/or  lisp, and support for the X11 selection
  1805. mechanism.   Lucid  Emacs  is free; the latest version (9/93) is 19.8,
  1806. and   is   available  from  labrea.stanford.edu  (36.8.0.112)  in  the
  1807. pub/gnu/lucid directory.
  1808.  
  1809.     The  Andrew system on the X11 contrib tapes has been described
  1810. as  one  of  the best word-processing packages available.  It supports
  1811. word   processing   with   multi-media   embedded  objects:   rasters,
  1812. tables/spread  sheets,  drawings,  style  editor, application builder,
  1813. embedded  programming  language,  &c.   Release 5.1 became available 2
  1814. June 92.  [Fred Hansen (wjh+@ANDREW.CMU.EDU)]
  1815.     You may be able to use the Remote Andrew Demo service to try this 
  1816. software; try "finger help@atk.itc.cmu.edu" for help.
  1817.  
  1818.     The  InterViews  C++  toolkit contains a WYSIWIG editor called
  1819. Doc;  it  saves  and  loads  files in a LaTeX-*like* format (not quite
  1820. LaTeX).  The package can also import idraw-PostScript drawings.
  1821.  
  1822.     A   simple   editor   aXe  (by  J.K.Wight@newcastle.ac.uk)  is
  1823. available  on  ftp.x.org and arjuna.newcastle.ac.uk (128.240.150.1) as
  1824. aXe-5.1.tar.Z [7/93].  It is based around the Xaw Text widget.
  1825.  
  1826.     TED  is  a  simple  Motif-based  text  editor; it is a wrapper
  1827. around  the  Motif  text widget which offers search/replace, paragraph
  1828. formatting,   and   navigation   features.    TED  is  available  from
  1829. ftp.eos.ncsu.edu   (152.1.9.25)  as  /pub/bill.tar.Z;  here  are  also
  1830. executables there.
  1831.  
  1832.     Point,  by  crowley@unmvax.cs.unm.edu  (Charlie  Crowley),  is
  1833. Tcl/Tk-based  and offers dyanimic configuration and programming in the
  1834. Tcl  macro  language.   The editor is available from unmvax.cs.unm.edu
  1835. (129.24.16.1) as pub/Point/point1.1-tar.Z.
  1836.  
  1837.     asedit, by Andrzej Stochniol (astoch@ic.ac.uk) is on ftp.x.org
  1838. in  contrib/asedit.tar.Z.  It is a simple text editor built around the
  1839. Motif Text widget.  Version 1.2 was released 10/93.
  1840.  
  1841.     jed  is  available  from  rhino.cis.vutbr.cs  in the directory
  1842. pub/software/czech.
  1843.  
  1844.     xcoral  is  on  ftp.inria.fr;  it also has bindings similar to
  1845. emacs  and  has  a  built-in browser for C and C++ code.  A version is
  1846. also on ftp.Uni-Oldenburg.DE:pub/unix/appl/edit/xcoral-1.72.tar.Z.
  1847.  
  1848.     The  powerful  "sam"  editor  by Rob Pike is split into a host
  1849. portion  and  a  front-end  graphics  portion,  which  now  has  an  X
  1850. implementation.    sam   is   now  available  by  anonymous  ftp  from
  1851. research.att.com,  in dist/sam/bundle.Z.  Watch that space for updated
  1852. versions.   There  is  a  mailing  list  for  sam  users;  requests to
  1853. <sam-fans-request@hawkwind.utcs.toronto.edu>.   A  set  of  extensions
  1854. which  augment  the mouse activity with the keyboard is available from
  1855. uxc.cso.uiuc.edu in pub/sam/samx2.shar.Z.  [5/93]
  1856.  
  1857.     textedit  is part of Sun's OpenWindow's DeskSet and the public
  1858. XView distribution.
  1859.  
  1860.     The  vi-like-microemacs editor VILE supports a pure-X mode, in
  1861. which  it  operates  much like vi running in an xterm window.  Version
  1862. 3.63 is available on ftp.cayman.com in pub/vile.
  1863.  
  1864.     NEdit  2.0  is  a  Motif-based  text  editor.   Sources are on
  1865. ftp.x.org and fnpspb.fnal.gov.  Information:  edel@fnal.gov.
  1866.  
  1867. Also:
  1868.  
  1869.     Elan  Computer  Group  (Mountain  View,  CA; 415-964-2200) has
  1870. announced   the   Avalon  Publisher  2.0,  an  X11/OPEN  LOOK  WYSIWYG
  1871. electronic publishing system.
  1872.  
  1873.     FrameMaker  and  FrameWriter  are  available as X-based binary
  1874. products   for  several  machines.   Frame  is  at  800-843-7263  (CA:
  1875. 408-433-3311).
  1876.  
  1877.     WX2  (formerly  InDepthEdit)  is  available  from Non Standard
  1878. Logics (+33 (1) 43 36 77 50; requests@nsl.fr).
  1879.  
  1880.     Buzzwords   International   Inc.    has   an   editor   called
  1881. 'Professional  Edit'  that  runs  under X/Motif for various platforms.
  1882. Info:  +1-314-334-6317.
  1883.  
  1884.     DECwrite  is  available  from  DEC  for  some DEC hardware and
  1885. SunWrite is available from Sun.
  1886.  
  1887.     IslandWrite  will  soon  be  available  from  Island  Graphics
  1888. (415-491-1000) (info@island.com) for some HP & Apollo platforms.
  1889.  
  1890.     Interleaf is currently available from Interleaf (800-241-7700,
  1891. MA:   617-577-9800)  on  all  Sun  and DEC platforms; others are under
  1892. development.
  1893.  
  1894.     The   Applixware   office   integration   tools   from  Applix
  1895. (1-800-8APPLIX,   MA:    508-870-0300)  include  a  multi-font  WYSIWG
  1896. document composer; for several systems.
  1897.  
  1898.     ArborText,  Inc.   provides  an  X11 version of its Electronic
  1899. Publishing program called "The Publisher".  The Publisher is available
  1900. on   Sun,   HP   and   Apollo   workstations.   Contact  Arbortext  at
  1901. 313-996-3566.  [5/90]
  1902.  
  1903.     Iris  Computing  Laboratories  offers  the "ie" editor.  Info:
  1904. +1-505-988-2670 or info@spectro.com.
  1905.  
  1906.     BBN/Slate  from  BBN  Software Products includes a menu-driven
  1907. word processor with multiple fonts and style sheets.  It supports X on
  1908. multiple platforms.  (617-873-5000 or slate-offer@bbn.com) [11/90]
  1909.  
  1910.     Innovative   Solutions   (505-883-4252;  or  Brian  Zimbelman,
  1911. is!brian@bbx.basis.com)  publishes  the  user-configurable Motif-based
  1912. Xamine editor.
  1913.  
  1914.     Qualix  offers  a  product.   Information:  info@qualix.com or
  1915. 800-245-UNIX (415-572-0200).
  1916.  
  1917.     Typex  is  a Motif-based editor available for several systems.
  1918. Information:  Amcad Research, 408-867-5705, fax -6209.
  1919.  
  1920.     WordPerfect  offers  an X-based version of WordPerfect 5.1 for
  1921. several workstations.  Information:  801-222-5300 or 800-451-5151.
  1922.  
  1923.     Bradford  Business Systems (714-859-4428) offers SpeedEdit for
  1924. several systems.
  1925.  
  1926.     VITAL  (713-781-7406)  offers  the  Crisp editor, a work-alike
  1927. superset   of   the   popular   BRIEF  editor,  for  several  systems.
  1928. Previously-available   source   versions   have  been  withdrawn  from
  1929. circulation.
  1930.  
  1931. ----------------------------------------------------------------------
  1932. Subject:  69)  Where can I get an X-based paint/draw program?
  1933.  
  1934. Drawing Packages:
  1935.  
  1936.     xpic  is  an  object-oriented  drawing  program.   It supports
  1937. multiple  font styles and sizes and variable line widths; there are no
  1938. rotations  or  zooms.   xpic  is  quite  suitable  as  an  interactive
  1939. front-end  to  pic,  though  the xpic-format produced can be converted
  1940. into  PostScript.   (The  latest  version is on the R4 contrib tape in
  1941. clients/xpic.)
  1942.  
  1943.     xfig   (by   Brian   V.    Smith   (bvsmith@lbl.gov))   is  an
  1944. object-oriented drawing program supporting compound objects.  The xfig
  1945. format  can  be  converted  to  PostScript  or  other formats.  Recent
  1946. versions   are   on   the   R5   contrib   tape  or  on  ftp.x.org  in
  1947. /contrib/R5fixes (version 2.1.8 [10/93]).
  1948.  
  1949.         idraw  supports  numerous  fonts  and  various line styles and
  1950. arbitrary  rotations.  It supports zoom and scroll and color draws and
  1951. fills.   The  file format is a PostScript dialect.  It can import TIFF
  1952. files.   Distributed  as a part of the InterViews C++ toolkit (current
  1953. release 3.1, from interviews.stanford.edu) .
  1954.  
  1955.     tgif  by William Cheng (william@oahu.cs.ucla.edu) is available
  1956. from most uucp sites and also from ftp.x.org and from cs.ucla.edu.  It
  1957. is  frequently  updated;  version 2.14 was released 8/93 (up to patch9
  1958. 12/93).
  1959.  
  1960.     figure  in  the Andrew User Interface System (versions 5.2 and
  1961. above) is a general drawing package which also allows arbitrary Andrew
  1962. insets to be part of the drawing.
  1963.  
  1964. ----------------------------------------------------------------------
  1965. Subject:  70)  Where can I get an X-based plotting program?
  1966.  
  1967.  These  usually  are  available from uucp sites such as uunet or other
  1968. sites  as marked; please consult the archie server to find more recent
  1969. versions.  See also the comp.graphics FAQ.
  1970.  
  1971.  gnuplot X (xplot), PostScript and a bunch of other drivers.
  1972.     ftp.x.org [and elsewhere]:contrib/gnuplot3.4a.tar.Z
  1973.  
  1974.  gl_plot X output only [?]
  1975.     comp.sources.unix/volume18
  1976.  
  1977.  graph+
  1978.     yallara.cs.rmit.oz.au:/pub/graph+.tar.Z [131.170.24.42]
  1979.     comp.sources.unix/volume8
  1980.  
  1981.  pdraw,drawplot 2D and 3D X,PS
  1982.     scam.berkeley.edu:/src/local/3dplot.tar.Z [128.32.138.1]
  1983.     scam.berkeley.edu:/src/local/contour.tar.Z [128.32.138.1]
  1984.     scam.berkeley.edu:/src/local/drawplot.tar.Z [128.32.138.1]
  1985.     uunet:~ftp/contrib/drawplot.tar.Z
  1986.  
  1987.  xgraph plot, zoom.  Outputs PS or HPGL.
  1988.     shambhala.berkeley.edu:/pub/xgraph-11.tar.Z [128.32.132.54]
  1989.     sun1.ruf.uni-freiburg.de:X11/contrib/xgraph-11.tar.Z [132.230.1.1]
  1990.     nisc.jvnc.net:pub/xgraph-11.tar.Z [128.121.50.7]
  1991.     comp.sources.x/volume3
  1992.     or many other sites 
  1993.  
  1994.  ACE/gr (formerly xvgr and xmgr) XY plotting tools
  1995.     ftp.ccalmr.ogi.edu [129.95.72.34]
  1996.     XView version: /CCALMR/pub/acegr/xvgr-2.10.tar.Z
  1997.     Motif version: /CCALMR/pub/acegr/xmgr-2.10.tar.Z
  1998.     [mirrored on ftp.x.org in /contrib/acegr]
  1999.  
  2000.  XGobi An interactive dynamic scatter-plotting tool from Bellcore
  2001.     lib.stat.cmu.edu:  general/xgobi* [log in as statlib with your
  2002.         email     as     the    password;    or    send    email    to
  2003.         statlib@lib.stat.cmu.edu containing the one-line message "send
  2004.         xgobi   from   general"]   Information  from:   Debby  Swayne,
  2005.         dfs@bellcore.com.
  2006.  
  2007.  Robot a scientific XView-based graph plotting and data analysis tool
  2008.     ftp.astro.psu.edu:pub/astrod/robotx0.47.tar.Z [128.118.147.28]
  2009.  
  2010.  plotmtv a multi-purpose 2D/3D plotter
  2011.     tanqueray.berkeley.edu:/pub/Plotmtv1.3.1.tar.Z
  2012.  XgPlot        Motif-based x-y graphing with a movie-loop display
  2013.     ftp.x.org:XgPlot-4.1.tar.Z
  2014.     
  2015.  
  2016. [2/91.     Thanks    in   part   to:    emv@ox.com   (Ed   Vielmetti);
  2017. geoff@Veritas.COM     (Geoffrey     Leach);     Paul     A.     Scowen
  2018. (uk1@spacsun.rice.edu); black@beno.CSS.GOV (Mike Black)]
  2019.  
  2020. ----------------------------------------------------------------------
  2021. Subject:  71)  Where can I get an X-based graph-drawing program?
  2022.  
  2023.     Xgrab  reads  a textual specification of a graph, lays out the
  2024. graph  using  heuristics to minimize the number of edge crossings, and
  2025. displays the graph as labeled nodes and edges in an X window.  Sources
  2026. are   on   ftp.cs.washington.edu   (128.95.1.4)   as  pub/xgrab.tar.Z.
  2027. Interviews 2.6 is required.  [12/93]
  2028.     The DaVinci visualization tool can be used to display graphs.
  2029.  
  2030.         Note that GnuPlot has also the abiltity to use X.
  2031.  
  2032. ----------------------------------------------------------------------
  2033. Subject:  72)  Where can I get an X-based spreadsheet?
  2034.  
  2035.  A  version  of "sc" for X and which supports Lotus files is available
  2036. from vernam.cs.uwm.edu in xspread2.1.tar.Z.  It also includes graphing
  2037. functions.  Information:  soft-eng@cs.uwm.edu.
  2038.  
  2039.  The    GNU    package   OLEO   is   available   in   prep.ai.mit.edu:
  2040. pub/gnu/oleo-1.5.tar.Z;  it  can  generate  PostScript  renditions  of
  2041. spreadsheets.
  2042.  
  2043. ----------------------------------------------------------------------
  2044. Subject:  73)  Where can I get an X-based PostScript previewer?
  2045.  
  2046.     Ghostscript  is  distributed  by  the Free Software Foundation
  2047. (617-876-3296)  and includes a PostScript interpreter and a library of
  2048. graphics  primitives.   Version  2.6.1(.4) is now available; the major
  2049. site is prep.ai.mit.edu, although ftp.cs.wisc.edu is also recommended.
  2050. [6/93]  Version  3.0 is scheduled for December; it will include a full
  2051. implementation of PostScript Level 2.
  2052.  
  2053.     GSPreview  (by  the  Computing Laboratory of the University of
  2054. Kent  at  Canterbury)  is  an  X  user  interface  (WCL-based)  to the
  2055. Ghostscript   2.4-2.6   interpreter.   The  source  is  available  for
  2056. anonymous ftp from ftp.x.org as gspreview.2.3.tar.Z.  [6/93]
  2057.  
  2058.     GhostView  (by  Tim Theisen, tim@cs.wisc.edu) is full-function
  2059. user    interface   for   GhostScript.    Check   ftp.cs.wisc.edu   or
  2060. prep.ai.mit.edu  for  /pub/ghostview-1.5.tar.Z [7/93].  There are also
  2061. several  executables available on ftp.cs.wisc.edu:/pub/X/ghostview-exe
  2062. for various architectures.
  2063.  
  2064.     XPsView  is  a Motif wrapper around PsView, which is a X11 DSC
  2065. Document  viewer  that  can  use  both  XDPS  and  GhostScript  as the
  2066. interpreter  engine.   An  early version was an the Alpha Freeware CD.
  2067. More     recent     versions     are    on    gatekeeper.dec.com    in
  2068. /pub/DEC/PRL/psview-1.29.tar.Z.
  2069.  
  2070. ----------------------------------------------------------------------
  2071. Subject:  74)  Where can I get an X-based GL package?
  2072.  
  2073.     Xgl  2.0  is  available  [11/93]  from ftp.thp.Uni-Duisburg.DE
  2074. (134.91.32.1), in files pub/source/X11/Xgl-2.0.tar.{Z|gz}.
  2075.     Certain vendors (SGI, IBM) are offering a GL package for X.
  2076.  
  2077. ----------------------------------------------------------------------
  2078. Subject:  75)  Where can I get an X-based PEX package?
  2079.  
  2080.     The first official release of PEX is with X11R5; fix-22 brings
  2081. the Sample Implementation server to version 5.1.
  2082.  
  2083.     The  final PEX 5.1 Protocol specification is now available via
  2084. anonymous  ftp to ftp.x.org, in the directory /pub/DOCS/PEX/.  Changes
  2085. made   from   the   Public   Review  draft  are  listed  in  the  file
  2086. "5.1P_changes" in that directory.  [9/92]
  2087.  
  2088.     The   final   PEXlib   5.1   document   is   on  ftp.x.org  in
  2089. pub/DOCS/PEXlib.  [11/92]
  2090.  
  2091.     There  is  now  available  from  the University of Illinois an
  2092. implementation of the PEX 4.0 specification called UIPEX.  It contains
  2093. a  "near-  complete" implementation of PHiGS and PHiGS PLUS.  The file
  2094. pub/uipex/uipex.tar.Z is on a.cs.uiuc.edu (128.174.252.1); the porting
  2095. platform  was  an  RT  running  4.3.  Questions and comments can to go
  2096. uipex@cs.uiuc.edu.
  2097.  
  2098.     In    addition,    the    PEXt   toolkit   by   Rich   Thomson
  2099. (rthomson@dsd.es.com)  is  available  on  ftp.x.org  as PEXt.tar.Z; it
  2100. includes  a  PEX  widget  making  it easier to include PEX in Xt-based
  2101. programs.
  2102.  
  2103. ----------------------------------------------------------------------
  2104. Subject:  76)  Where can I get an X-based TeX or DVI previewer?
  2105.  
  2106.     The xtex previewer for TeX files is available from a number of
  2107. archive  sites,  including  uunet;  the  current version is usually on
  2108. ftp.cs.colorado.edu     (128.138.204.31)    in    SeeTeX-2.18.5.tar.Z;
  2109. pre-converted  fonts  are  also on that machine.  The distribution all
  2110. includes "mftobdf" which converts PK, GF, and PXL fonts to BDF format,
  2111. where they can then be compiled for use by your local X server.
  2112.  
  2113.     The  xdvi  dvi-previewer  is  fairly comprehensive and easy to
  2114. use.  It is also available from a number of sites, including uunet and
  2115. ftp.x.org; current version is patchlevel 16 [12/92].
  2116.  
  2117. ----------------------------------------------------------------------
  2118. Subject:  77)  Where can I get an X-based troff previewer?
  2119.  
  2120.     X11R4  has  two  previewers for device-independent troff:  the
  2121. supported  client  xditview,  and  the contributed-but-well-maintained
  2122. xtroff.   An  earlier  version  of  xtroff  also  appeared  on  the R3
  2123. contributed source.  xditview is also in the R5 distribution.
  2124.     In  addition,  the  xman  client  can be used to preview troff
  2125. documents which use the -man macros (i.e.  man pages).
  2126.     If  psroff  is used its output can be viewed with a PostScript
  2127. previewer.
  2128.  
  2129.     Groff,  a  C++-based [tn]roff document formatter from the Free
  2130. Software  Foundation,  includes  an  X-based  document  previwer based
  2131. probably  on  xditview.  Groff can put out both dvi and PostScript, so
  2132. xdvi or GhostView can be used to preview formatted documents.
  2133.  
  2134. In addition:
  2135.  
  2136.     xproof,  an  X  previewer  for ditroff has been contributed by
  2137. Marvin  Solomon  (solomon@cs.wisc.edu);  version  3.5  is available on
  2138. ftp.x.org in contrib/xproof*.  [8/90]
  2139.  
  2140.     Elan  Computer  Group  (CA:   415-964-2200)  produces eroff, a
  2141. modified   troff   implementation,  and  Elan/Express,  an  X11  eroff
  2142. previewer.
  2143.  
  2144.     SoftQuad  (416-963-8337; USA only 800-387-2777, mail@sq.uu.net
  2145. or  mail@sq.com)  offers  SoftQuad  Publishing  Software,  including a
  2146. substantially-   rewritten  troff  formatter,  a  better  intermediate
  2147. language  with  backwards  compatibility, and an X11[R3,R4] previewer.
  2148. (This is the package adopted by AT&T's own MIS department, and used in
  2149. and  re-sold  by  many  parts of AT&T).  [information from Ian Darwin,
  2150. SoftQuad (ian@sq.com) 3/90]
  2151.  
  2152.     Image  Network  (1-800-TOXROFF;  CA:  415-967-0542) offers the
  2153. Xroff package, which includes a fine modified troff implementation and
  2154. a  set  of  X11-based page previewers.  (This is the package OEM'ed by
  2155. several hardware vendors.)
  2156.  
  2157. [mostly courtesy moraes@cs.toronto.edu (Mark Moraes)] [2/90]
  2158.  
  2159. ----------------------------------------------------------------------
  2160. Subject:  78)  Where can I get an X-based debugger?
  2161.  
  2162.     xdbx, an X interface to the dbx debugger, is available via ftp
  2163. from ftp.x.org.  The current [1/91] version is 2.1 patchlevel 2.
  2164.     An  X  interface  to gdb called xxgdb is more like xdbx 2.1.2.
  2165. It  is part of comp.sources.x volume 11 [2/91]; xxgdb-1.06.tar.Z is on
  2166. ftp.x.org.
  2167.     mxgdb   is   a   Motif   interface   to  gdb  by  Jim  Tsillas
  2168. (jtsillas@proteon.com); version 1.2 was released 11/93.
  2169.     UPS  is  a  source-level debugger which runs under the X11 and
  2170. SunView window systems on Sun and DEC platforms.  It is available from
  2171. ftp.x.org     (18.24.0.11)     as     contrib/ups-2.45.tar.Z     (also
  2172. ups-2.45-to-2.45.2.patch.Z)   and  unix.hensa.ac.uk  (129.12.21.7)  in
  2173. /pub/misc/unix/ups (or try mail to archive@unix.hensa.ac.uk).  [10/92]
  2174. Unofficial   fixes   by  Rod  Armstrong  (rod@sj.ate.slb.com)  are  on
  2175. unix.hensa.ac.uk in /misc/unix/ups/contrib/rod@sj.ate.slb.com.
  2176.  
  2177.  None   of   the  above  debugger  has  been  enhanced  to  work  with
  2178. NetBSD-Amiga  yet,  probably  best  try  is  xxgbd, a frontend for the
  2179. working gdb.
  2180.  
  2181. ----------------------------------------------------------------------
  2182. Subject:  80)  TOPIC: BUILDING THE X DISTRIBUTION 
  2183. ----------------------------------------------------------------------
  2184. Subject:  81)  What's a good source of information on configuring the X build?
  2185.  
  2186.     This  FAQ  includes  information on a number of "gotchas" that
  2187. can  bite  you  on  particular  system.   However,  the best source of
  2188. general  information  on  building  the  X11  release  is found in the
  2189. Release  Notes.   The  file is bundled separately from the rest of the
  2190. release,  so  if  it's  become separated from your sources you can FTP
  2191. another  copy separately:  the file RELNOTES.[ms,PS,TXT] at the top of
  2192. the distribution.  The file RELNOTES is also available from the xstuff
  2193. mail server.
  2194.     In   addition,   O'Reilly   &   Associates's  Volume  8  on  X
  2195. Administration includes information on configuring and building X.
  2196.  
  2197. ----------------------------------------------------------------------
  2198. Subject: 90)  TOPIC: BUILDING X PROGRAMS 
  2199. ----------------------------------------------------------------------
  2200. Subject: 91)  What is Imake?
  2201.  
  2202.     Imake  is  not a replacement for the make program; instead, it
  2203. is  a makefile-generator that takes advantages of the include-file and
  2204. macro-  processing  capabilities of the C preprocessor cpp to generate
  2205. makefiles  suitable  for  building  software  on  a particular system.
  2206. Although  it is not specific to X, the X release uses it to help solve
  2207. a number of the configuration issues that arise in making such a large
  2208. system widely portable.
  2209.     Imake  has  a fairly steep learning curve, in part because the
  2210. process    by   which   the   system-specific   configuration   files,
  2211. system-independent  configuration files, and individual Imakefiles are
  2212. melded to produce a Makefile is not obvious.
  2213.     There  have  been several different versions of imake; the R3,
  2214. R4, and R5 versions are different.
  2215.  
  2216.     You can obtain information on imake from these sources:
  2217.     -  the  R4  and  R5  release  notes and imake man page include
  2218. information on using Imake to build X
  2219.     -  the  R4  and R5 file mit/config/README also contains useful
  2220. information
  2221.     - on the R4 tapes, contrib/doc/imake/imake.tex is Mark Moraes'
  2222. R3/R4 guide to imake.
  2223.     -  the R5 mit/doc/config/usenixws/paper.ms contains a paper by
  2224. Jim Fulton on an early version of Imake
  2225.     -  Paul  DuBois (dubois@primate.wisc.edu) has written a useful
  2226. explanation  of how Imake works and how to use it in configuring X for
  2227. non-    supported    systems;   the   document   is   available   from
  2228. ftp.primate.wisc.edu  in  the directory ~ftp/pub/imake-stuff; look for
  2229. config-X11R4.ms   (troff)   and  config-X11R4.ps  (PostScript).   Some
  2230. supplemental  appendices  are nearby.  [7/91:  document version is now
  2231. 1.06]  These  imake papers are available by email; mail a message body
  2232. of "send imake-stuff help" to almanac@primate.wisc.edu.  They are also
  2233. available  by  gopher to gopher.primate.wisc.edu under "Primate Center
  2234. Software Archives".
  2235.     -  see  "System  Administration  -  Imake:  Friend or Foe?" by
  2236. Dinah McNutt in the November 1991 issue of SunExpert.
  2237.     -  German  readers  should expect in June 1992 an article "Das
  2238. Meta-Make  /  I  make,  you  make / Schwerelos" by Rainer Klute in "iX
  2239. Multiuser-Multitasking-Magazin",  directed  at application programmers
  2240. needing  to  write Imakefiles.  An English-language derivative of this
  2241. article is in The X Journal, issue 2:1.
  2242.     -  The  O'Reilly  X  Resource  issue  #2 contains Paul Davey's
  2243. article on demystifying Imake.
  2244.     -  Alain  Brossard's working document full of tips on Imake is
  2245. in sasun1.epfl.ch:pub/imakefile.1.Z.
  2246.     -  O'Reilly  has  published  (7/93) "Software Portability with
  2247. imake"  by  Paul  DuBois;  ISBN  1-56592-055-4.   The books electronic
  2248. counterparts    are   on   ftp.primate.wisc.edu   in   pub/imake-book;
  2249. imake.tar.Z is a stand-alone imake installation.
  2250.  
  2251. [1/91;12/91;5/92;8/92;7/93]
  2252.  
  2253. ----------------------------------------------------------------------
  2254. Subject: 92)  Where can I get imake?
  2255.  
  2256.     Versions  are  distributed  with  the  R4 and R5 releases.  An
  2257. earlier   version   is   distributed  with  the  X11R3  release;  some
  2258. third-party  toolkits  redistribute versions of imake along with their
  2259. own  implementations  of  the template and configuration files.  There
  2260. are  no  real  standards  for  such configuration files, although most
  2261. *current*  contributed software expects the templates distributed with
  2262. X11R5.
  2263.     ftp.x.org  contains  the  R5 distribution unpacked, so you can
  2264. pick up imake without picking up the entire distribution.
  2265.     A  stand-alone  version of Imake, but one stemming from X11R5,
  2266. is      in      ftp.germany.eu.net:pub/X11/misc/imake/imake-pure.tar.Z
  2267. (192.76.144.75).
  2268.     A  stand-alone  version of Imake, but one stemming from X11R5,
  2269. is in ftp.primate.wisc.edu:pub/imake-book/imake.tar.Z.
  2270.  
  2271. ----------------------------------------------------------------------
  2272. Subject: 93)  I have a program with an Imakefile but no Makefile. What to do?
  2273.  
  2274.     If  you  have  R4 or R5 installed on your system, run "xmkmf".
  2275. This  is a script which runs imake for you with the correct arguments.
  2276. The  output  is a Makefile configured for your system and based on the
  2277. Imakefile.  Then run make, which will use that new Makefile to compile
  2278. the program.
  2279.  
  2280.  If   you  dont  have  that  xmkmf,  try  using  'imake  -DUseInstalled
  2281. -I/usr/lib/X11/config' instead.
  2282.  
  2283. ----------------------------------------------------------------------
  2284. EOFAQ
  2285.